Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-admin/theme-install.php | apply_filters | 178 | /** * 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'. */ |
wp-admin/includes/class-wp-theme-install-list-table.php | apply_filters | 71 | /** * @global array $tabs * @global string $tab * @global int $paged * @global string $type * @global array $theme_field_defaults */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string[] | $tabs | Associative array of the tabs shown on the Add Themes screen. Default is 'upload'. |