Fires inside limited and specific upload-tab views in the legacy (pre-3.5.0) media popup.
Description
The dynamic portion of the hook name, $tab
, refers to the specific media upload tab. Possible values include ‘library’ (Media Library), or any custom tab registered via the ‘media_upload_tabs’ filter.
Source
do_action( "media_upload_{$tab}" );
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.