wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_oembed_add_host_js › WordPress Function

Since4.4.0
Deprecatedn/a
wp_oembed_add_host_js ( No parameters )
Defined at:
Codex:

Adds the necessary JavaScript to communicate with the embedded iframes.



Source

function wp_oembed_add_host_js() {
	add_filter( 'embed_oembed_html', 'wp_maybe_enqueue_oembed_host_js' );
}