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 disallowed content, false if comment does not
Defined at: - Introduced in WordPress: 1.5.0
- Deprecated in WordPress: 5.5.0
Description
Does comment contain disallowed characters or words.