This hook has been deprecated. Use ‘wp_check_comment_disallowed_list’ instead.

do_action_deprecated( 'wp_blacklist_check', string $author, string $email, string $url, string $comment, string $user_ip, string $user_agent )

Fires before the comment is tested for disallowed characters or words.


Parameters

$author

Comment author.

$email

Comment author's email.

$url

Comment author's URL.

$comment

Comment content.

$user_ip

Comment author's IP address.

$user_agent

Comment author's browser user agent.


Source

File: wp-includes/comment.php

View on GitHub



Changelog

Changelog
Version Description
5.5.0 Use 'wp_check_comment_disallowed_list' instead.
1.5.0 Introduced. This hook has been deprecated. Use {@see 'wp_check_comment_disallowed_list'} instead.