Description
Filters the arguments for registering a post type.
Occurrences
Filename | Line Number |
---|---|
wp-includes/class-wp-post-type.php | 491 |
Parameters
Type | Name | Description |
---|---|---|
array | $args | Array of arguments for registering a post type. See the register_post_type() function for accepted arguments. |
string | $post_type | Post type key. |
PHP Doc
/**
* Filters the arguments for registering a post type.
*
* @since 4.4.0
*
* @param array $args Array of arguments for registering a post type.
* See the register_post_type() function for accepted arguments.
* @param string $post_type Post type key.
*/