A WordPress-centric search engine for devs and theme authors



wp_oembed_add_host_js ›

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() {
	wp_enqueue_script( 'wp-embed' );
}