Files
Filename | Hook Type | Line Number | PHP Doc |
---|---|---|---|
wp-includes/comment.php | do_action | 1337 | /** * Fires before the comment is tested for disallowed characters or words. * * @since 5.5.0 * * @param string $author Comment author. * @param string $email Comment author's email. * @param string $url Comment author's URL. * @param string $comment Comment content. * @param string $user_ip Comment author's IP address. * @param string $user_agent Comment author's browser user agent. */ |
Hook Parameters
Parameter Type | Name | Description |
---|---|---|
string | $author | Comment author. |
string | Comment author's email. | |
string | $url | Comment author's URL. |
string | $comment | Comment content. |
string | $user_ip | Comment author's IP address. |
string | $user_agent | Comment author's browser user agent. |