WP_Widget_Media::enqueue_admin_scripts() In this article Table of ContentsSource Related Changelog ↑ Back to top Loads the required scripts and styles for the widget control. Source public function enqueue_admin_scripts() { wp_enqueue_media(); wp_enqueue_script( 'media-widgets' ); } View all references View on Trac View on GitHub Related UsesDescriptionwp_enqueue_script()wp-includes/functions.wp-scripts.phpEnqueues a script. Used byDescriptionWP_Widget_Media_Gallery::enqueue_admin_scripts()wp-includes/widgets/class-wp-widget-media-gallery.phpLoads the required media files for the media manager and scripts for media widgets. WP_Widget_Media_Audio::enqueue_admin_scripts()wp-includes/widgets/class-wp-widget-media-audio.phpLoads the required media files for the media manager and scripts for media widgets. WP_Widget_Media_Video::enqueue_admin_scripts()wp-includes/widgets/class-wp-widget-media-video.phpLoads the required scripts and styles for the widget control. WP_Widget_Media_Image::enqueue_admin_scripts()wp-includes/widgets/class-wp-widget-media-image.phpLoads the required media files for the media manager and scripts for media widgets. Changelog VersionDescription4.8.0Introduced. User Contributed Notes You must log in before being able to contribute a note or feedback.
User Contributed Notes
You must log in before being able to contribute a note or feedback.