评论未被标记为垃圾邮件后立即触发。
原型
do_action( 'unspammed_comment', int $comment_id, WP_Comment $comment )
参数
$comment_id
(int)
评论ID。
$comment
(WP_Comment)
该评论未被标记为垃圾邮件。
源文件
路径:wp-includes/comment.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/unspammed_comment/