WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
событие не описано

check_comment_flood хук-событие . WP 2.3.0

Fires immediately before a comment is marked approved.

Allows checking for comment flooding.

Использование

add_action( 'check_comment_flood', 'action_function_name_5828', 10, 4 );
function action_function_name_5828( $comment_author_IP, $comment_author_email, $comment_date_gmt, $avoid_die ){
	// action...
}
$comment_author_IP(строка)
Comment author's IP address.
$comment_author_email(строка)
Comment author's email.
$comment_date_gmt(строка)
GMT date the comment was posted.
$avoid_die(true/false)
Whether to prevent executing wp_die() or die() if a comment flood is occurring.

Список изменений

С версии 2.3.0 Введена.
С версии 4.7.0 The $avoid_die parameter was added.

Где вызывается хук

wp_allow_comment()
check_comment_flood
wp-includes/comment.php 737-743
do_action(
	'check_comment_flood',
	$commentdata['comment_author_IP'],
	$commentdata['comment_author_email'],
	$commentdata['comment_date_gmt'],
	$avoid_die
);

Где используется хук (в ядре WP)

wp-includes/default-filters.php 247
add_action( 'check_comment_flood', 'check_comment_flood_db', 10, 4 );