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.


Top ↑

Parameters

$tabs

(string[])Associative array of the tabs shown on the Add Themes screen. Default is 'upload'.


Top ↑

Source

File: wp-admin/theme-install.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
2.8.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.