media_upload_tabs WordPress Filter Hook
The media_upload_tabs hook is used to add tabs to the media upload interface. It can be used to add custom tabs or to remove default tabs.
apply_filters( 'media_upload_tabs', string[] $_default_tabs ) #
Filters the available tabs in the legacy (pre-3.5.0) media popup.
Parameters
- $_default_tabs
(string[])An array of media tabs.
Source
Changelog
Version | Description |
---|---|
2.5.0 | Introduced. |