admin_head-media-upload-popup WordPress Action Hook

The admin_head-media-upload-popup hook is a hook that is run when the WordPress media upload popup is displayed in the admin interface. This hook can be used to add custom CSS or JavaScript to the popup.

do_action( 'admin_head-media-upload-popup' ) #

Fires when scripts enqueued for the admin header for the legacy (pre-3.5.0) media upload popup are printed.


Source

File: wp-admin/includes/media.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.9.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