WordPress at a glance
filter is not described

install_themes_tabs filter-hook . WP 2.8.0

Filters the tabs shown on the Add Themes screen.

This filter is for backward compatibility only, for the suppression of the upload tab.


add_filter( 'install_themes_tabs', 'filter_function_name_7828' );
function filter_function_name_7828( $tabs ){
	// filter...

	return $tabs;
Associative array of the tabs shown on the Add Themes screen.
Default: 'upload'


Since 2.8.0 Introduced.

Where the hook is called

In file: /wp-admin/theme-install.php
wp-admin/theme-install.php 152
$tabs = apply_filters( 'install_themes_tabs', array( 'upload' => __( 'Upload Theme' ) ) );
wp-admin/includes/class-wp-theme-install-list-table.php 72
$tabs = apply_filters( 'install_themes_tabs', $tabs );

Where in WP core the hook is used WordPress

Usage not found.