enqueue_embed_scripts

Advertisement

Summery Summery

Enqueue embed iframe default CSS and JS & fire do_action(‘enqueue_embed_scripts’)

Syntax Syntax

enqueue_embed_scripts()

Description Description

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().

Source Source

File: wp-includes/embed.php

/**
 * Enqueue embed iframe default CSS and JS & fire do_action('enqueue_embed_scripts')
 *
 * 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().
 *
 * @since 4.4.0
 */

Advertisement

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.