Fires before the comment is tested for disallowed characters or words.
$authorstring
$emailstring
$urlstring
$commentstring
$user_ipstring
$user_agentstring
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.' )
);
| Version | Description |
|---|---|
| 5.5.0 | Use 'wp_check_comment_disallowed_list' instead. |
| 1.5.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_blacklist_check