apply_filters( 'comment_flood_filter', bool $bool, int $time_lastcomment, int $time_newcomment )

Filters the comment flood status.


Parameters

$bool

Whether a comment flood is occurring. Default false.

$time_lastcomment

Timestamp of when the last comment was posted.

$time_newcomment

Timestamp of when the new comment was posted.


Source

File: wp-includes/comment.php

View on GitHub



Changelog

Changelog
Version Description
2.1.0 Introduced.