
如何修复XAMPP“服务器证书不包含与服务器名称匹配的ID”错误
apply_filters( 'get_default_comment_status', $status, $post_type, $comment_type )
get_default_comment_status 函数返回一个文章类型的默认评论状态。它接收一个文章类型作为参数,并返回该文章类型的默认评论状态,可以是 “开放 “或 “关闭”。
过滤给定文章类型的默认评论状态。
return apply_filters( 'get_default_comment_status', $status, $post_type, $comment_type );