Used By
Used By | Description |
---|---|
wp-includes/comment.php: wp_allow_comment() | Validates whether this comment is allowed to be made. |
Filters whether a comment is part of a comment flood.
The default check is wp_check_comment_flood(). See check_comment_flood_db().
(bool) Is a comment flooding occurring? Default false.
(string) Comment author's IP address.
(string) Comment author's email.
(string) GMT date the comment was posted.
(bool) Whether to return a WP_Error object instead of executing wp_die() or die() if a comment flood is occurring.
File: wp-includes/comment.php
Version | Description |
---|---|
5.5.0 | The $avoid_die parameter was renamed to $wp_error . |
4.7.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_is_comment_flood