comment_flood_filter
apply_filters( ‘comment_flood_filter’, bool $bool , int $time_lastcomment , int $time_newcomment )
过滤器::过滤注释泛滥状态。
Filter Hook: Filters the comment flood status.
参数(Parameters)
参数 | 类型 | 说明 |
---|---|---|
$bool | (bool) | 是否发生评论泛滥。默认为false。 |
$time_lastcomment | (int) | 上次发布评论的时间戳。 |
$time_newcomment | (int) | 发布新评论的时间戳。 |
源码(Source)
更新版本 | 源码位置 | 使用 | 被使用 |
---|---|---|---|
2.1.0 | wp-includes/comment.php:905 | 1 | 0 |
comment_flood_filter 为WP2原创文章,链接:https://www.wp2.cn/hook/comment_flood_filter/