wpseek.com
A WordPress-centric search engine for devs and theme authors



comment_flood_filter › WordPress Filter Hooks

Since2.1.0
Deprecatedn/a
apply_filters( 'comment_flood_filter', false, $time_lastcomment, $time_newcomment )
Parameters: (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
Defined at:
Codex:

Filters the comment flood status.





Source

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