wp_check_comment_disallowed_list


wp_check_comment_disallowed_list ( $author, $email, $url, $comment, $user_ip, $user_agent )

Parameters:
  • (string) author The author of the comment
  • (string) email The email of the comment
  • (string) url The url used in the comment
  • (string) comment The comment content
  • (string) user_ip The comment author's IP address
  • (string) user_agent The author's browser user agent
Returns:
  • (bool) True if comment contains disallowed content, false if comment does not
Defined at:

Description

Checks if a comment contains disallowed characters or words.

Related Functions

wp_check_comment_flood, wp_check_comment_data_max_lengths, check_comment_flood_db, wp_check_locked_posts, wp_throttle_comment_flood

Top Google Results

User discussions

wpseek mobile