apply_filters( 'media_upload_default_tab', string $tab )
Filters the default tab in the legacy (pre-3.5.0) media popup.
Parameters
- $tab
-
(string) The default media popup tab. Default 'type' (From Computer).
Source
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/media_upload_default_tab