Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/comment.php | apply_filters | 309 | /** * Filters the default comment status for the given post type. * * @since 4.3.0 * * @param string $status Default status for the given post type, * either 'open' or 'closed'. * @param string $post_type Post type. Default is `post`. * @param string $comment_type Type of comment. Default is `comment`. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string | $status | Default status for the given post type, |
string | $post_type | Post type. Default is `post`. |
string | $comment_type | Type of comment. Default is `comment`. |