wp_enqueue_media WordPress Action Hook

The wp_enqueue_media hook allows you to enqueue WordPress media scripts and styles so that you can use the media uploader in your plugin or theme. This hook is called after the default media scripts and styles have been enqueued.

do_action( 'wp_enqueue_media' ) #

Fires at the conclusion of wp_enqueue_media().


Source

File: wp-includes/media.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
3.5.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More