do_action( ‘wp_check_comment_disallowed_list’, string $author, string $email, string $url, string $comment, string $user_ip, string $user_agent )

In this article

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( 'wp_check_comment_disallowed_list', $author, $email, $url, $comment, $user_ip, $user_agent );

Changelog

VersionDescription
5.5.0Introduced.

User Contributed Notes

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