On this page
apply_filters( 'media_upload_default_tab', string $tab )
Filters the default tab in the legacy (pre-3.5.0) media popup.
Parameters
$tabstring-
The default media popup tab. Default
'type'(From Computer).
Source
File: wp-admin/media-upload.php. View all references
$tab = apply_filters( 'media_upload_default_tab', 'type' );
Related
Used By
| Used By | Description |
|---|---|
| the_media_upload_tabs() wp-admin/includes/media.php | Outputs the legacy media upload tabs UI. |
Changelog
| Version | Description |
|---|---|
| 2.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/media_upload_default_tab