WordPress at a glance
function is not described

_wp_oembed_get_object() WP 2.9.0

Returns the initialized WP_oEmbed object.

  • Static. WP_oEmbed. $wp_oembed

No Hooks.

Return

WP_oEmbed. object.

Usage

_wp_oembed_get_object();

Code of wp oembed get object: wp-includes/embed.php VER 5.0.3

<?php
function _wp_oembed_get_object() {
	static $wp_oembed = null;

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