wp_blacklist_check


wp_blacklist_check ( $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 blacklisted content, false if comment does not
Defined at:

Description

Does comment contain blacklisted characters or words.

Related Functions

wp_auth_check, wp_kses_attr_check, wp_list_pluck, wp_playlist_shortcode, wp_auth_check_html

Top Google Results

User discussions

wpseek mobile