WordPress at Your Fingertips
function is not described

enqueue_embed_scripts() WP 4.4.0

Enqueues embed iframe default CSS and JS.

Enqueue PNG fallback CSS for embed iframe for legacy versions of IE.

Allows plugins to queue scripts for the embed iframe end using wp_enqueue_script(). Runs first in oembed_head().

Hooks from the function
Return

null. Nothing.

Usage

enqueue_embed_scripts();

Changelog

Since 4.4.0 Introduced.

Code of enqueue_embed_scripts() WP 5.7.2

<?php
function enqueue_embed_scripts() {
	wp_enqueue_style( 'wp-embed-template-ie' );

	/**
	 * Fires when scripts and styles are enqueued for the embed iframe.
	 *
	 * @since 4.4.0
	 */
	do_action( 'enqueue_embed_scripts' );
}