WordPress at a glance
filter is not described

comment_flood_filter filter-hook . WP 2.1.0

Filters the comment flood status.


add_filter( 'comment_flood_filter', 'filter_function_name_3850', 10, 3 );
function filter_function_name_3850( $bool, $time_lastcomment, $time_newcomment ){
	// filter...

	return $bool;
Whether a comment flood is occurring.
Default: false
Timestamp of when the last comment was posted.
Timestamp of when the new comment was posted.

Where the hook is called

wp-includes/comment.php 893
$flood_die = apply_filters( 'comment_flood_filter', false, $time_lastcomment, $time_newcomment );

Where the hook is used (in WP core)

wp-includes/default-filters.php 250
add_filter( 'comment_flood_filter', 'wp_throttle_comment_flood', 10, 3 );