过滤评论泛滥状态。
原型
apply_filters( 'comment_flood_filter', bool $bool, int $time_lastcomment, int $time_newcomment )
参数
$bool
(bool)
是否发生评论泛滥。默认为false。
$time_lastcomment
(int)
上次发表评论的时间戳。
$time_newcomment
(int)
发布新评论的时间戳。
源文件
路径:wp-includes/comment.php
其他
英文文档:https://developer.wordpress.org/reference/hooks/comment_flood_filter/