Filter hook 'install_themes_tabs'
in WP Core File wp-admin/theme-install.php at line 177
Description
Filters the tabs shown on the Add Themes screen. This filter is for backward compatibility only, for the suppression of the upload tab.
Occurrences
Filename |
Line Number |
wp-admin/theme-install.php |
177 |
wp-admin/includes/class-wp-theme-install-list-table.php |
72 |
Parameters
Type |
Name |
Description |
string[] |
$tabs |
Associative array of the tabs shown on the Add Themes screen. Default is 'upload'. |
PHP Doc
/**
* Filters the tabs shown on the Add Themes screen.
*
* This filter is for backward compatibility only, for the suppression of the upload tab.
*
* @since 2.8.0
*
* @param string[] $tabs Associative array of the tabs shown on the Add Themes screen. Default is 'upload'.
*/