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 all references

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


Top ↑

Changelog

Changelog
Version Description
2.8.0 Introduced.

Top ↑

User Contributed Notes

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