install_themes_tabs WordPress Filter Hook
The install_themes_tabs hook is used to add new tabs to the Install Themes screen. This hook is used by the WordPress core to add the Upload and Browse tabs.
apply_filters( 'install_themes_tabs', string[] $tabs ) #
Filters the tabs shown on the Add Themes screen.
Description
This filter is for backward compatibility only, for the suppression of the upload tab.
Parameters
- $tabs
(string[])Associative array of the tabs shown on the Add Themes screen. Default is 'upload'.
Source
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |