registered_post_type

registered_post_type

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('registered_post_type') is found 1 times:

  • /wp-includes/post.php line 1824
    1820
    1821
    1822
    1823
    1824
    1825
    1826
    1827
    1828
    1829
    1830
    *
     * @param string       $post_type        Post type.
     * @param WP_Post_Type $post_type_object Arguments used to register the post type.
     */
    do_action( 'registered_post_type', $post_type, $post_type_object );
     
    /**
     * Fires after a specific post type is registered.
     *
     * The dynamic portion of the filter name, `$post_type`, refers to the post type key.
     *

See this hook used in plugins: