Make WordPress Core


Ignore:
Timestamp:
04/13/2022 03:02:43 AM (3 years ago)
Author:
peterwilsoncc
Message:

Docs: Improve doc blocks for hooks added in [53126].

Fix a variable name and provide examples of the hook names.

Follow up to [53126].

Props dlh, pbiron.
Fixes #53212.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/taxonomy.php

    r53126 r53170  
    534534     *
    535535     * The dynamic portion of the filter name, `$taxonomy`, refers to the taxonomy key.
     536     *
     537     * Possible hook names include:
     538     *
     539     *  - `registered_taxonomy_category`
     540     *  - `registered_taxonomy_post_tag`
    536541     *
    537542     * @since 6.0.0
Note: See TracChangeset for help on using the changeset viewer.