wpseek.com
A WordPress-centric search engine for devs and theme authors



get_default_comment_status › WordPress Function

Since4.3.0
Deprecatedn/a
get_default_comment_status ( $post_type = 'post', $comment_type = 'comment' )
Parameters: (2)
  • (string) $post_type Optional. Post type. Default 'post'.
    Required: No
    Default: 'post'
  • (string) $comment_type Optional. Comment type. Default 'comment'.
    Required: No
    Default: 'comment'
Returns:
  • (string) Either 'open' or 'closed'.
Defined at:
Codex:

Gets the default comment status for a post type.



Source

Soon...