check_comment_flood – action

Fires immediately before a comment is marked approved. Allows checking for comment flooding.

Parameters

.
( 2.3.0 ) . .
The
( 4.7.0 ) `$avoid_die` parameter was added. . . .
The
( 5.5.0 ) `$avoid_die` parameter was renamed to `$wp_error`. . . .
$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. . . .
( bool ) $wp_error Whether to return a WP_Error object instead of executing wp_die() or die() if a comment flood is occurring. . . .
API Letters: ,

Implementers