print_embed_scripts

函数


print_embed_scripts ( No parameters )
定义位置
  • wp-includes/embed.php
    , line 1079
引入
4.4.0
弃用

Prints the JavaScript in the embed iframe header.

function print_embed_scripts() {
	wp_print_inline_script_tag(
		file_get_contents( ABSPATH . WPINC . '/js/wp-embed-template' . wp_scripts_get_suffix() . '.js' )
	);
}