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 Parameters


(string) Comment author.


(string) Comment author's email.


(string) Comment author's URL.


(string) Comment content.


(string) Comment author's IP address.


(string) Comment author's browser user agent.

Top ↑

Source Source

File: wp-includes/comment.php

View on Trac

Top ↑

Changelog Changelog

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

Top ↑

User Contributed Notes User Contributed Notes

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