wp_throttle_comment_flood
wp_throttle_comment_flood ( $block, $time_lastcomment, $time_newcomment )
Parameters:- (bool) block Whether plugin has already blocked comment.
- (int) time_lastcomment Timestamp for last comment.
- (int) time_newcomment Timestamp for new comment.
Returns:- (bool) Whether comment should be blocked.
Defined at: - Introduced in WordPress: 2.1.0
- Deprecated in WordPress: —
Description
Determines whether a comment should be blocked because of comment flood.