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

$tabs = apply_filters( 'install_themes_tabs', array( 'upload' => __( 'Upload Theme' ) ) );

Changelog

VersionDescription
2.8.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.