wordpress / latest / hooks / comment_flood_filter.html

apply_filters( 'comment_flood_filter', bool $bool, int $time_lastcomment, int $time_newcomment )

Filters the comment flood status.

Parameters

$bool bool
Whether a comment flood is occurring. Default false.
$time_lastcomment int
Timestamp of when the last comment was posted.
$time_newcomment int
Timestamp of when the new comment was posted.

Source

File: wp-includes/comment.php. View all references

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

Used By

Used By Description

Changelog

Version Description
2.1.0 Introduced.

© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comment_flood_filter