WordPress at Your Fingertips
action is not described

install_themes_pre_(tab) action-hook . WP 2.8.0

Fires before each of the tabs are rendered on the Install Themes page.

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


add_action( 'install_themes_pre_(tab)', 'action_function_name_3033' );
function action_function_name_3033(){
	// action...

Where the hook is called

In file: /wp-admin/theme-install.php
wp-admin/theme-install.php 100
do_action( "install_themes_pre_{$tab}" );

Where in WP core the hook is used WordPress

wp-admin/includes/admin-filters.php 100
add_action( 'install_themes_pre_theme-information', 'install_theme_information' );