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:

Description

Marks a comment as Spam.

Related Functions

wp_unspam_comment, wp_update_comment, wp_allow_comment, wp_list_comments, wp_trash_comment

Top Google Results

User discussions

wpseek mobile