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 the comment contains disallowed content, false otherwise.
Defined at:

Description

Checks if a comment contains disallowed characters or words.

Related Functions

wp_check_comment_data, wp_check_comment_flood, wp_check_comment_data_max_lengths, check_comment_flood_db, wp_check_locked_posts

Top Google Results

User discussions

wpseek mobile