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

File: wp-admin/theme-install.php

View on Trac

Changelog

Version Description
2.8.0 Introduced.

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/install_themes_tabs