WordPress at a glance
action is not described

registered_post_type action-hook . WP 3.3.0

Fires after a post type is registered.

Usage

add_action( 'registered_post_type', 'action_function_name_3304', 10, 2 );
function action_function_name_3304( $post_type, $post_type_object ){
	// action...
}
$post_type(string)
Post type.
$post_type_object(WP_Post_Type)
Arguments used to register the post type.

Notes

  • Since 4.6.0 Converted the $post_type parameter to accept a WP_Post_Type object.

Where the hook is called

register_post_type()
registered_post_type
wp-includes/post.php 1271
do_action( 'registered_post_type', $post_type, $post_type_object );

Where the hook is used (in WP core)

Does not used.