wp_enqueue_media


wp_enqueue_media ( $args = array() )

Parameters:
  • (array) args { Arguments for enqueuing media scripts. @type int|WP_Post $post Post ID or post object. }
Defined at:

Description

Enqueues all scripts, styles, settings, and templates necessary to use all media JS APIs.

Related Functions

wp_enqueue_editor, wp_enqueue_style, wp_enqueue_code_editor, wp_enqueue_script, wp_enqueue_embed_styles

Top Google Results

User discussions

wpseek mobile