registered_post_type_{$post_type}

registered_post_type_{$post_type}

Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7

do_action('registered_post_type_{$post_type}') is found 1 times:

  • /wp-includes/post.php line 1841
    	 *
    	 * @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, $post_type_object );
    
    	return $post_type_object;
    }
    
    /**
     * Unregisters a post type.