media_upload_{$tab}

Advertisement

Summery Summery

Fires inside limited and specific upload-tab views in the legacy (pre-3.5.0) media popup.

Syntax Syntax

do_action( "media_upload_{$tab}" )

Description 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 Source

File: wp-admin/media-upload.php

Advertisement

Changelog Changelog

Changelog
Version Description
2.5.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.