get_default_comment_status

过滤器::过滤给定post类型的默认注释状态。

apply_filters( ‘get_default_comment_status’, string $status , string $post_type , string $comment_type )

参数(Parameters)

参数类型说明
$status(string)“打开”或“关闭”给定文章类型的默认状态。
$post_type(string)岗位类型。默认为post。
$comment_type(string)注释类型。默认为“注释”。
更新版本源码位置使用被使用
4.3.0wp-includes/comment.php:30810
0 条回复 A文章作者 M管理员
    暂无讨论,说说你的看法吧
个人中心
购物车
优惠劵
今日签到
有新私信 私信列表
搜索