On this page
do_action( 'wp_check_comment_disallowed_list', 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
$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
File: wp-includes/comment.php. View all references
do_action( 'wp_check_comment_disallowed_list', $author, $email, $url, $comment, $user_ip, $user_agent );
Related
Used By
| Used By | Description |
|---|---|
| wp_check_comment_disallowed_list() wp-includes/comment.php | Checks if a comment contains disallowed characters or words. |
Changelog
| Version | Description |
|---|---|
| 5.5.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_check_comment_disallowed_list