WordPress at a glance
filter is not described

wp_is_comment_flood filter-hook . WP 4.7.0

Filters whether a comment is part of a comment flood.

The default check is wp_check_comment_flood(). See check_comment_flood_db().

Usage

add_filter( 'wp_is_comment_flood', 'filter_function_name_6228', 10, 5 );
function filter_function_name_6228( $is_flood, $comment_author_IP, $comment_author_email, $comment_date_gmt, $avoid_die ){
	// filter...

	return $is_flood;
}
$is_flood(true/false)
Is a comment flooding occurring? Default false.
$comment_author_IP(string)
Comment author's IP address.
$comment_author_email(string)
Comment author's email.
$comment_date_gmt(string)
GMT date the comment was posted.
$avoid_die(true/false)
Whether to prevent executing wp_die() or die() if a comment flood is occurring.

Where the hook is called

wp_allow_comment()
wp-includes/comment.php 718-725
$is_flood = apply_filters(
	'wp_is_comment_flood',
	false,
	$commentdata['comment_author_IP'],
	$commentdata['comment_author_email'],
	$commentdata['comment_date_gmt'],
	$avoid_die
);

Where the hook is used (in WP core)

wp-includes/comment.php 795
add_filter( 'wp_is_comment_flood', 'wp_check_comment_flood', 10, 5 );