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:

Description

Determines whether a comment should be blocked because of comment flood.

Related Functions

wp_check_comment_flood, check_comment_flood_db, wp_set_comment_cookies, wp_trash_post_comments, wp_update_comment_count

Top Google Results

User discussions

wpseek mobile