Fires after a post type is registered.
$post_typestring$post_type_objectWP_Post_Typewp-includes/post.php:1891register_post_type() * @since 3.3.0 * @since 4.6.0 Converted the `$post_type` parameter to accept a WP_Post_Type object. * * @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. *Introduced in 3.3.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.