wpseek.com
A WordPress-centric search engine for devs and theme authors



_wp_oembed_get_object › WordPress Function

Since2.9.0
Deprecatedn/a
_wp_oembed_get_object ( No parameters )
Access:
  • private
Returns:
  • (WP_oEmbed) object.
Defined at:
Codex:

Returns the initialized WP_oEmbed object.



Source

function _wp_oembed_get_object() {
	static $wp_oembed = null;

	if ( is_null( $wp_oembed ) ) {
		$wp_oembed = new WP_oEmbed();
	}
	return $wp_oembed;
}