Warning: 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 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.

Top ↑

Source

File: wp-includes/comment.php. View all references

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.' )
);


Top ↑

Changelog

Changelog
Version Description
5.5.0 Use 'wp_check_comment_disallowed_list' instead.
1.5.0 Introduced.

Top ↑

User Contributed Notes

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