Uses
Uses | Description |
---|---|
wp-includes/class-wp-oembed.php: WP_oEmbed::__construct() | Constructor. |
This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness.
Returns the initialized WP_oEmbed object.
(WP_oEmbed) object.
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; }
Version | Description |
---|---|
2.9.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/_wp_oembed_get_object