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_8626' );
function filter_function_name_8626( $tabs ){
	// filter...

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

Список изменений

С версии 2.8.0 Введена.

Где вызывается хук

В файле: /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 );

Где используется хук в ядре WP

Использование не найдено.