WordPress at a glance
function is not described

wp_oembed_add_host_js() WP 4.4.0

Adds the necessary JavaScript to communicate with the embedded iframes.

No Hooks.

Return

null. Nothing.

Usage

wp_oembed_add_host_js();

Changelog

Since 4.4.0 Introduced.

Code of wp_oembed_add_host_js() WP 5.7.2

<?php
function wp_oembed_add_host_js() {
	wp_enqueue_script( 'wp-embed' );
}