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_dashboard
install_themes_pre_featured
install_themes_pre_new
install_themes_pre_search
install_themes_pre_updated
install_themes_pre_upload
Source
Changelog
Version | Description |
---|---|
2.8.0 | Introduced. |