spam_comment – action

Fires immediately before a comment is marked as Spam. 

Parameters

.
( 2.9.0 ) . .
Added
( 4.9.0 ) the `$comment` parameter. . . .
( int ) $comment_id The comment ID. . . .
$comment
( WP_Comment ) The comment to be marked as spam. . . .
API Letters: ,

Implementers