wp_spam_comment
wp_spam_comment ( $comment_id )
Parameters:- (int|WP_Comment) comment_id Comment ID or WP_Comment object.
Returns:- (bool) True on success, false on failure.
Defined at: - Introduced in WordPress: 2.9.0
- Deprecated in WordPress: —
Description
Marks a comment as Spam.