WordPress at Your Fingertips
action is not described

install_plugins_pre_(tab) action-hook . WP 2.7.0

Fires before each tab on the Install Plugins screen is loaded.

The dynamic portion of the action hook, $tab, allows for targeting individual tabs, for instance 'install_plugins_pre_plugin-information'.


add_action( 'install_plugins_pre_(tab)', 'action_function_name_5705' );
function action_function_name_5705(){
	// action...


Since 2.7.0 Introduced.

Where the hook is called

In file: /wp-admin/plugin-install.php
wp-admin/plugin-install.php 70
do_action( "install_plugins_pre_{$tab}" );

Where in WP core the hook is used WordPress

wp-admin/includes/admin-filters.php 90
add_action( 'install_plugins_pre_plugin-information', 'install_plugin_information' );