WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about comment_flood_filter

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/comment.php apply_filters 906 /**
* Filters the comment flood status.
*
* @since 2.1.0
*
* @param bool $bool Whether a comment flood is occurring. Default false.
* @param int $time_lastcomment Timestamp of when the last comment was posted.
* @param int $time_newcomment Timestamp of when the new comment was posted.
*/

Hook Parameters

Parameter Type Name Description
bool $bool Whether a comment flood is occurring. Default false.
int $time_lastcomment Timestamp of when the last comment was posted.
int $time_newcomment Timestamp of when the new comment was posted.