Used By
| Used By | Description |
|---|---|
| wp-includes/comment.php: get_default_comment_status() | Gets the default comment status for a post type. |
Filters the default comment status for the given post type.
(string) Default status for the given post type, either 'open' or 'closed'.
(string) Post type. Default is post.
(string) Type of comment. Default is comment.
File: wp-includes/comment.php
| Version | Description |
|---|---|
| 4.3.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/get_default_comment_status