Make WordPress Core


Ignore:
Timestamp:
03/07/2021 12:30:38 PM (4 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/file.php

    r50149 r50505  
    758758     *
    759759     * The dynamic portion of the hook name, `$action`, refers to the post action.
    760      * Possible filter names include:
     760     *
     761     * Possible hook names include:
    761762     *
    762763     *  - `wp_handle_sideload_prefilter`
     
    774775     *
    775776     * The dynamic portion of the hook name, `$action`, refers to the post action.
    776      * Possible filter names include:
     777     *
     778     * Possible hook names include:
    777779     *
    778780     *  - `wp_handle_sideload_overrides`
Note: See TracChangeset for help on using the changeset viewer.