This function has been deprecated. Use wp_check_comment_disallowed_list() instead. Please consider writing more inclusive code.
wp_blacklist_check( string $author, string $email, string $url, string $comment, string $user_ip, string $user_agent )
Does comment contain disallowed characters or words.
Parameters
- $author
-
(Required) The author of the comment
-
(Required) The email of the comment
- $url
-
(Required) The url used in the comment
- $comment
-
(Required) The comment content
- $user_ip
-
(Required) The comment author's IP address
- $user_agent
-
(Required) The author's browser user agent
Return
(bool) True if comment contains disallowed content, false if comment does not
Source
File: wp-includes/deprecated.php
Changelog
Version | Description |
---|---|
5.5.0 | Use wp_check_comment_disallowed_list() instead.<br> Please consider writing more inclusive code. |
1.5.0 | Introduced. This function has been deprecated. Use wp_check_comment_disallowed_list() instead. Please consider writing more inclusive code. |