wp_enqueue_media


wp_enqueue_media ( $args = array() )

Parameters:
  • (array) args { Arguments for enqueuing media scripts. @type int|WP_Post A post object or ID. }
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_scripts

Top Google Results

User discussions

wpseek mobile