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

In this article

This hook has been deprecated. Use {@see ‘wp_check_comment_disallowed_list’} instead.

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

Parameters

$authorstring
Comment author.
$emailstring
Comment author’s email.
$urlstring
Comment author’s URL.
$commentstring
Comment content.
$user_ipstring
Comment author’s IP address.
$user_agentstring
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

VersionDescription
5.5.0Use 'wp_check_comment_disallowed_list' instead.
1.5.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.