Make WordPress Core


Ignore:
Timestamp:
03/07/2021 12:30:38 PM (6 years ago)
Author:
johnbillion
Message:

Docs: Add examples of possible names for various hooks whose name contains a dynamic portion.

This provides greater discoverability of such hooks in search results on the Code Reference site as well as increased clarity when reading the source.

See #50734, #52628

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-automatic-updater.php

    r49249 r50505  
    183183                 *
    184184                 * The dynamic portion of the hook name, `$type`, refers to the type of update
    185                  * being checked. Potential hook names include:
     185                 * being checked.
     186                 *
     187                 * Possible hook names include:
    186188                 *
    187189                 *  - `auto_update_core`
Note: See TracChangeset for help on using the changeset viewer.