do_action( "install_themes_{$tab}", int $paged )
- Since
- 2.8.0, 6.1.0
Fires at the top of each of the tabs on the Install Themes page.
Description
The dynamic portion of the hook name, $tab, refers to the current theme installation tab.
Possible hook names include:
install_themes_block-themesinstall_themes_dashboardinstall_themes_featuredinstall_themes_newinstall_themes_searchinstall_themes_updatedinstall_themes_upload
Compatibility
- WordPress
- since 6.1.0
- 6.7.7
- 6.8.8
- 6.9.7
- 7.0.4
- 7.1.0
Present in every tracked release (6.7.7 to 7.1.0).
Parameters
$pagedint- Number of the current page of results being viewed.
Where this hook fires · 1
wp-admin/theme-install.php:312file scope
Source code
* * @since 2.8.0 * @since 6.1.0 Added the `install_themes_block-themes` hook name. * * @param int $paged Number of the current page of results being viewed. */ do_action( "install_themes_{$tab}", $paged );}?></div> <script id="tmpl-theme" type="text/template"> <# if ( data.screenshot_url ) { #>Changelog
Introduced in 2.8.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
6.1.0
Added the
install_themes_block-themes hook name.from the docblock2.8.0
Introduced.from the docblock
About this page
- Parsed data
- Generated from the wordpress-develop 7.1.0 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
- Corrections
- Something wrong on this page? Report it and it gets fixed in the next regeneration.