apply_filters( 'comment_flood_filter', bool $bool, int $time_lastcomment, int $time_newcomment )
Filters the comment flood status.
Parameters
- $bool
-
(bool) Whether a comment flood is occurring. Default false.
- $time_lastcomment
-
(int) Timestamp of when the last comment was posted.
- $time_newcomment
-
(int) Timestamp of when the new comment was posted.
Source
File: wp-includes/comment.php
Changelog
Version | Description |
---|---|
2.1.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comment_flood_filter