install_themes_search
Fires at the top of each of the tabs on the Install Themes page.
This is one of the variants of the dynamic hook install_themes_(tab)
Usage
add_action( 'install_themes_search', 'wp_kama_install_themes_search_action' ); /** * Function for `install_themes_search` action-hook. * * @param int $paged Number of the current page of results being viewed. * * @return void */ function wp_kama_install_themes_search_action( $paged ){ // action... }
- $paged(int)
- Number of the current page of results being viewed.
Changelog
Since 2.8.0 | Introduced. |
Since 6.1.0 | Added the install_themes_block-themes hook name. |
Where the hook is called
In file: /wp-admin/theme-install.php
install_themes_search
wp-admin/theme-install.php 310
do_action( "install_themes_{$tab}", $paged );