On this page
do_action( 'comment_flood_trigger', int $time_lastcomment, int $time_newcomment )
Fires before the comment flood message is triggered.
Parameters
$time_lastcommentint-
Timestamp of when the last comment was posted.
$time_newcommentint-
Timestamp of when the new comment was posted.
Source
File: wp-includes/comment.php. View all references
do_action( 'comment_flood_trigger', $time_lastcomment, $time_newcomment );
Related
Used By
| Used By | Description |
|---|---|
| wp_check_comment_flood() wp-includes/comment.php | Checks whether comment flooding is occurring. |
Changelog
| Version | Description |
|---|---|
| 1.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/comment_flood_trigger