Function: enqueue_embed_scripts

enqueue_embed_scripts( )

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

WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.