wpseek.com
WordPress开发者和主题制作者的搜索引擎



comment_flood_filter › WordPress过滤钩子

Since2.1.0
已弃用n/a
apply_filters( 'comment_flood_filter', false, $time_lastcomment, $time_newcomment )
参数: (3)
  • (bool) $bool Whether a comment flood is occurring. Default false.
    Required: Yes
  • (int) $time_lastcomment Timestamp of when the last comment was posted.
    Required: Yes
  • (int) $time_newcomment Timestamp of when the new comment was posted.
    Required: Yes
定义在:
文档:

Filters the comment flood status.





源码

$flood_die = apply_filters( 'comment_flood_filter', false, $time_lastcomment, $time_newcomment );