_wp_oembed_get_object()

Returns the initialized WP_oEmbed object.


Return

(WP_oEmbed) object.


Top ↑

Source

File: wp-includes/embed.php

function _wp_oembed_get_object() {
	static $wp_oembed = null;

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


Top ↑

Changelog

Changelog
Version Description
2.9.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.