Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-admin/media-upload.php | do_action | 105 | /** * Fires inside specific upload-type views in the legacy (pre-3.5.0) * media popup based on the current tab. * * The dynamic portion of the hook name, `$type`, refers to the specific * media upload type. * * The hook only fires if the current `$tab` is 'type' (From Computer), * 'type_url' (From URL), or, if the tab does not exist (i.e., has not * been registered via the {@see 'media_upload_tabs'} filter. * * Possible hook names include: * * - `media_upload_audio` * - `media_upload_file` * - `media_upload_image` * - `media_upload_video` * * @since 2.5.0 */ |
wp-admin/media-upload.php | do_action | 117 | /** * Fires inside limited and specific upload-tab views in the legacy * (pre-3.5.0) media popup. * * 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 {@see 'media_upload_tabs'} filter. * * @since 2.5.0 */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string | $type | The default media upload type. Possible values include |
string | $type | The default media upload type. Possible values include |