Description
Fires immediately before a comment is marked as Spam.
Occurrences
Filename | Line Number |
---|---|
wp-includes/comment.php | 1644 |
Parameters
Type | Name | Description |
---|---|---|
int | $comment_id | The comment ID. |
WP_Comment | $comment | The comment to be marked as spam. |
PHP Doc
/**
* Fires immediately before a comment is marked as Spam.
*
* @since 2.9.0
* @since 4.9.0 Added the `$comment` parameter.
*
* @param int $comment_id The comment ID.
* @param WP_Comment $comment The comment to be marked as spam.
*/