在草稿模式下对帖子进行评论时触发。
原型
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/
在草稿模式下对帖子进行评论时触发。
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/
请在后台设置小工具!