Fires before the comment is tested for disallowed characters or words.
Parameters
$author
string- Comment author.
$email
string- Comment author’s email.
$url
string- Comment author’s URL.
$comment
string- Comment content.
$user_ip
string- Comment author’s IP address.
$user_agent
string- Comment author’s browser user agent.
Source
do_action_deprecated(
'wp_blacklist_check',
array( $author, $email, $url, $comment, $user_ip, $user_agent ),
'5.5.0',
'wp_check_comment_disallowed_list',
__( 'Please consider writing more inclusive code.' )
);
Changelog
Version | Description |
---|---|
5.5.0 | Use 'wp_check_comment_disallowed_list' instead. |
1.5.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.