Make WordPress Core


Ignore:
Timestamp:
04/13/2022 03:02:43 AM (2 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/class-wp-taxonomy.php

    r53126 r53170  
    321321         * Filters the arguments for registering a specific taxonomy.
    322322         *
    323          * The dynamic portion of the filter name, `$this->name`, refers to the taxonomy key.
     323         * The dynamic portion of the filter name, `$taxonomy`, refers to the taxonomy key.
     324         *
     325         * Possible hook names include:
     326         *
     327         *  - `register_category_taxonomy_args`
     328         *  - `register_post_tag_taxonomy_args`
    324329         *
    325330         * @since 6.0.0
Note: See TracChangeset for help on using the changeset viewer.