do_action( 'check_comment_flood', string $comment_author_IP, string $comment_author_email, string $comment_date_gmt, bool $avoid_die )

Fires immediately before a comment is marked approved.

Description Description

Allows checking for comment flooding.

Parameters Parameters


(string) Comment author's IP address.


(string) Comment author's email.


(string) GMT date the comment was posted.


(bool) Whether to prevent executing wp_die() or die() if a comment flood is occurring.

Top ↑

Source Source

File: wp-includes/comment.php

View on Trac

Top ↑

Changelog Changelog

Version Description
4.7.0 The $avoid_die parameter was added.
2.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.