public function spam( $args, $assoc_args ) {
		foreach ( $args as $id ) {
			$this->call( $id, __FUNCTION__, 'Marked as spam', 'Failed marking as spam' );
		}
	}
public function spam( $args, $assoc_args ) {
		foreach ( $args as $id ) {
			$this->call( $id, __FUNCTION__, 'Marked as spam', 'Failed marking as spam' );
		}
	}
public function spam ( $ args , $ assoc_args ) { foreach ( $ args as $ id ) { $ this -> call ( $ id , __FUNCTION__ , 'Marked as spam' , 'Failed marking as spam' ) ; } }
Marks a comment as spam.

## OPTIONS

<id>...
: The IDs of the comments to mark as spam.

## EXAMPLES

# Spam comment.
$ wp comment spam 1337
Success: Marked as spam comment 1337.
Marks a comment as spam .