On this page
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
$tabsstring[]-
Associative array of the tabs shown on the Add Themes screen. Default is
'upload'.
Source
File: wp-admin/theme-install.php. View all references
$tabs = apply_filters( 'install_themes_tabs', array( 'upload' => __( 'Upload Theme' ) ) );
Related
Used By
| Used By | Description |
|---|---|
| WP_Theme_Install_List_Table::prepare_items() wp-admin/includes/class-wp-theme-install-list-table.php |
Changelog
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/install_themes_tabs