Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/post.php | do_action | 1713 | /** * Fires after a post type is registered. * * @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. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string | $post_type | Post type. |
WP_Post_Type | $post_type_object | Arguments used to register the post type. |