Make WordPress Core


Ignore:
Timestamp:
09/21/2021 06:19:19 PM (3 years ago)
Author:
johnbillion
Message:

Docs: Document some more common names for dynamic hooks and standardise the phrasing used.

Fixes #53581

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/plugin-install.php

    r51475 r51837  
    6464 * Fires before each tab on the Install Plugins screen is loaded.
    6565 *
    66  * The dynamic portion of the action hook, `$tab`, allows for targeting
    67  * individual tabs, for instance 'install_plugins_pre_plugin-information'.
     66 * The dynamic portion of the hook name, `$tab`, allows for targeting
     67 * individual tabs.
     68 *
     69 * Possible hook names include:
     70 *
     71 *  - `install_plugins_pre_beta`
     72 *  - `install_plugins_pre_favorites`
     73 *  - `install_plugins_pre_featured`
     74 *  - `install_plugins_pre_plugin-information`
     75 *  - `install_plugins_pre_popular`
     76 *  - `install_plugins_pre_recommended`
     77 *  - `install_plugins_pre_search`
     78 *  - `install_plugins_pre_upload`
    6879 *
    6980 * @since 2.7.0
     
    165176 * Fires after the plugins list table in each tab of the Install Plugins screen.
    166177 *
    167  * The dynamic portion of the action hook, `$tab`, allows for targeting
    168  * individual tabs, for instance 'install_plugins_plugin-information'.
     178 * The dynamic portion of the hook name, `$tab`, allows for targeting
     179 * individual tabs.
     180 *
     181 * Possible hook names include:
     182 *
     183 *  - `install_plugins_beta`
     184 *  - `install_plugins_favorites`
     185 *  - `install_plugins_featured`
     186 *  - `install_plugins_plugin-information`
     187 *  - `install_plugins_popular`
     188 *  - `install_plugins_recommended`
     189 *  - `install_plugins_search`
     190 *  - `install_plugins_upload`
    169191 *
    170192 * @since 2.7.0
Note: See TracChangeset for help on using the changeset viewer.