public function approve( $args, $assoc_args ) {
		$this->check_server_name();
		foreach ( $args as $id ) {
			$this->set_status( $id, 'approve', 'Approved' );
		}
	}
public function approve( $args, $assoc_args ) {
		$this->check_server_name();
		foreach ( $args as $id ) {
			$this->set_status( $id, 'approve', 'Approved' );
		}
	}
public function approve ( $ args , $ assoc_args ) { $ this -> check_server_name ( ) ; foreach ( $ args as $ id ) { $ this -> set_status ( $ id , 'approve' , 'Approved' ) ; } }
Approves a comment.

## OPTIONS

<id>...
: The IDs of the comments to approve.

## EXAMPLES

# Approve comment.
$ wp comment approve 1337
Success: Approved comment 1337.
Approves a comment .