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-includes/media.php

    r50274 r50505  
    34553455     * either 'next', or 'previous'.
    34563456     *
     3457     * Possible hook names include:
     3458     *
     3459     *  - `next_image_link`
     3460     *  - `previous_image_link`
     3461     *
    34573462     * @since 3.5.0
    34583463     *
Note: See TracChangeset for help on using the changeset viewer.