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

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

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

File: wp-includes/comment.php

View on Trac

Changelog

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

© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_blacklist_check