Wordpress 钩子:comment_on_draft
文章目录
在草稿模式下对帖子进行评论时触发。
原型
do_action( 'comment_on_draft', int $comment_post_ID )
参数
$comment_post_ID
(int)
帖子ID。
源文件
路径:wp-includes/comment.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/comment_on_draft/
文章作者 iBllex
上次更新 2019-02-17