mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 21:00:21 +00:00
Docs: Document some more common names for dynamic hooks and standardise the phrasing used.
Fixes #53581 git-svn-id: https://develop.svn.wordpress.org/trunk@51837 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -63,8 +63,19 @@ wp_enqueue_script( 'updates' );
|
||||
/**
|
||||
* 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'.
|
||||
* 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
|
||||
*/
|
||||
@@ -164,8 +175,19 @@ if ( 'upload' !== $tab ) {
|
||||
/**
|
||||
* Fires after the plugins list table in each tab of the Install Plugins screen.
|
||||
*
|
||||
* The dynamic portion of the action hook, `$tab`, allows for targeting
|
||||
* individual tabs, for instance 'install_plugins_plugin-information'.
|
||||
* The dynamic portion of the hook name, `$tab`, allows for targeting
|
||||
* individual tabs.
|
||||
*
|
||||
* Possible hook names include:
|
||||
*
|
||||
* - `install_plugins_beta`
|
||||
* - `install_plugins_favorites`
|
||||
* - `install_plugins_featured`
|
||||
* - `install_plugins_plugin-information`
|
||||
* - `install_plugins_popular`
|
||||
* - `install_plugins_recommended`
|
||||
* - `install_plugins_search`
|
||||
* - `install_plugins_upload`
|
||||
*
|
||||
* @since 2.7.0
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user