install_themes_(tab) action-hook . WP 2.8.0
Fires at the top of each of the tabs on the Install Themes page.
The dynamic portion of the hook name, $tab, refers to the current theme installation tab. Possible values are 'dashboard', 'search', 'upload', 'featured', 'new', or 'updated'.
Usage
add_action( 'install_themes_(tab)', 'action_function_name_1104' ); function action_function_name_1104( $paged ){ // action... }
- $paged(int)
- Number of the current page of results being viewed.
Changelog
Since 2.8.0 | Introduced. |
Where the hook is called
In file: /wp-admin/theme-install.php
wp-admin/theme-install.php 261
do_action( "install_themes_{$tab}", $paged );
Where in WP core the hook is used WordPress
wp-admin/theme-install.php 100
add_action( 'install_themes_pre_theme-information', 'install_theme_information' );
wp-admin/theme-install.php 116
add_action( 'install_themes_table_header', 'install_theme_search_form', 10, 0 );