wp_check_comment_flood


wp_check_comment_flood ( $is_flood, $ip, $email, $date, $avoid_die = false )

Parameters:
  • (bool) is_flood Is a comment flooding occurring?
  • (string) ip Comment author's IP address.
  • (string) email Comment author's email address.
  • (string) date MySQL time string.
  • (bool) avoid_die When true, a disallowed comment will result in the function returning without executing wp_die() or die(). Default false.
Returns:
  • (bool) Whether comment flooding is occurring.
Defined at:

Description

Checks whether comment flooding is occurring.Won't run, if current user can manage options, so to not block administrators.

Related Functions

check_comment_flood_db, wp_throttle_comment_flood, wp_check_comment_disallowed_list, check_comment, wp_check_post_lock

Top Google Results

User discussions

wpseek mobile