print_embed_scripts()WP 4.4.0

Prints the JavaScript in the embed iframe header.

No Hooks.

Return

null. Nothing (null).

Usage

print_embed_scripts();

Changelog

Since 4.4.0 Introduced.

print_embed_scripts() code WP 6.5.2

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