install_themes_pre_{$tab} WordPress Action Hook
This hook is called before installing a theme. It is used to do any necessary pre-installation tasks, such as checking that the theme is compatible with the current WordPress version.
do_action( "install_themes_pre_{$tab}" ) #
Fires before each of the tabs are rendered on the Install Themes page.
Contents
Description
The dynamic portion of the hook name, $tab, refers to the current theme installation tab.
Possible hook names include:
install_themes_pre_dashboardinstall_themes_pre_featuredinstall_themes_pre_newinstall_themes_pre_searchinstall_themes_pre_updatedinstall_themes_pre_upload
Source
Changelog
| Version | Description |
|---|---|
| 2.8.0 | Introduced. |