Filter hook 'install_themes_tabs'

in WP Core File wp-admin/includes/class-wp-theme-install-list-table.php at line 72

View Source

install_themes_tabs

Filter Hook

Hook Information

File Location wp-admin/includes/class-wp-theme-install-list-table.php View on GitHub
Hook Type Filter
Line Number 72

Hook Parameters

This hook doesn't accept any parameters.

Usage Examples

Basic Usage
<?php
// Hook into install_themes_tabs
add_filter('install_themes_tabs', 'my_custom_filter');

function my_custom_filter() {
    // Your custom filtering logic here
    return 'modified_value';
}

Source Code Context

wp-admin/includes/class-wp-theme-install-list-table.php:72 - How this hook is used in WordPress core
<?php
  67  		$tabs['updated'] = _x( 'Recently Updated', 'themes' );
  68  
  69  		$nonmenu_tabs = array( 'theme-information' ); // Valid actions to perform which do not have a Menu item.
  70  
  71  		/** This filter is documented in wp-admin/theme-install.php */
  72  		$tabs = apply_filters( 'install_themes_tabs', $tabs );
  73  
  74  		/**
  75  		 * Filters tabs not associated with a menu item on the Install Themes screen.
  76  		 *
  77  		 * @since 2.8.0

PHP Documentation

<?php
/**
	 * @global array  $tabs
	 * @global string $tab
	 * @global int    $paged
	 * @global string $type
	 * @global array  $theme_field_defaults
	 */
Quick Info
  • Hook Type: Filter
  • Parameters: 0
  • File: wp-admin/includes/class-wp-theme-install-list-table.php
Related Hooks

Related hooks will be displayed here in future updates.