Make WordPress Core


Ignore:
Timestamp:
04/13/2022 03:02:43 AM (4 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/post.php

    r53126 r53170  
    17151715         * The dynamic portion of the filter name, `$post_type`, refers to the post type key.
    17161716         *
     1717         * Possible hook names include:
     1718         *
     1719         *  - `registered_post_type_post`
     1720         *  - `registered_post_type_page`
     1721         *
    17171722         * @since 6.0.0
    17181723         *
Note: See TracChangeset for help on using the changeset viewer.