A WordPress-centric search engine for devs and theme authors



_wp_oembed_get_object ›

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

Returns the initialized {@link WP_oEmbed} object



Source

function _wp_oembed_get_object() {
	static $wp_oembed;

	if ( is_null($wp_oembed) )
		$wp_oembed = new WP_oEmbed();

	return $wp_oembed;
}