Does comment contain disallowed characters or words.
$authorstringrequired
$emailstringrequired
$urlstringrequired
$commentstringrequired
$user_ipstringrequired
$user_agentstringrequired
function wp_blacklist_check( $author, $email, $url, $comment, $user_ip, $user_agent ) {
_deprecated_function( __FUNCTION__, '5.5.0', 'wp_check_comment_disallowed_list()' );
return wp_check_comment_disallowed_list( $author, $email, $url, $comment, $user_ip, $user_agent );
}
| Version | Description |
|---|---|
| 5.5.0 | Use wp_check_comment_disallowed_list() instead. Please consider writing more inclusive code. |
| 1.5.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_blacklist_check