Make WordPress Core


Ignore:
Timestamp:
07/03/2021 09:41:02 PM (5 years ago)
Author:
johnbillion
Message:

Docs: Add and correct examples of common names for various dynamic hooks.

See #53581

File:
1 edited

Legend:

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

    r51301 r51327  
    44124412         * the post type slug.
    44134413         *
     4414         * Possible hook names include:
     4415         *
     4416         *  - `edit_post_post`
     4417         *  - `edit_post_page`
     4418         *
    44144419         * @since 5.1.0
    44154420         *
     
    44484453     * The dynamic portion of the hook name, `$post->post_type`, refers to
    44494454     * the post type slug.
     4455     *
     4456     * Possible hook names include:
     4457     *
     4458     *  - `save_post_post`
     4459     *  - `save_post_page`
    44504460     *
    44514461     * @since 3.7.0
Note: See TracChangeset for help on using the changeset viewer.