Wordpress 钩子:comment_closed
文章目录
在已关闭注释的帖子上尝试评论时触发。
原型
do_action( 'comment_closed', int $comment_post_ID )
参数
$comment_post_ID
(int)
帖子ID。
源文件
路径:wp-includes/comment.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/comment_closed/
文章作者 iBllex
上次更新 2019-02-12