_wp_oembed_get_object

函数


_wp_oembed_get_object ( No parameters )
Access
Private
返回值
  • (WP_oEmbed) object.
定义位置
  • wp-includes/embed.php
    , line 126
引入
2.9.0
弃用

Returns the initialized WP_oEmbed object.

function _wp_oembed_get_object() {
	static $wp_oembed = null;

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