Description
Fires before each tab on the Install Plugins screen is loaded. The dynamic portion of the hook name, `$tab`, allows for targeting individual tabs. Possible hook names include: - `install_plugins_pre_beta` - `install_plugins_pre_favorites` - `install_plugins_pre_featured` - `install_plugins_pre_plugin-information` - `install_plugins_pre_popular` - `install_plugins_pre_recommended` - `install_plugins_pre_search` - `install_plugins_pre_upload` / do_action( "install_plugins_pre_{$tab}" ); /* Call the pre upload action on every non-upload plugin installation screen because the form is always displayed on these screens.
Occurrences
Filename | Line Number |
---|---|
wp-admin/plugin-install.php | 90 |
PHP Doc
/**
* Fires before each tab on the Install Plugins screen is loaded.
*
* The dynamic portion of the hook name, `$tab`, allows for targeting
* individual tabs.
*
* Possible hook names include:
*
* - `install_plugins_pre_beta`
* - `install_plugins_pre_favorites`
* - `install_plugins_pre_featured`
* - `install_plugins_pre_plugin-information`
* - `install_plugins_pre_popular`
* - `install_plugins_pre_recommended`
* - `install_plugins_pre_search`
* - `install_plugins_pre_upload`
*
* @since 2.7.0
*/
do_action( "install_plugins_pre_{$tab}" );
/*
* Call the pre upload action on every non-upload plugin installation screen
* because the form is always displayed on these screens.
*/