private function empty_comments() {
		global $wpdb;

		// Empty comments and comment cache
		$comment_ids = $wpdb->get_col( "SELECT comment_ID FROM $wpdb->comments" );
		foreach ( $comment_ids as $comment_id ) {
			wp_cache_delete( $comment_id, 'comment' );
			wp_cache_delete( $comment_id, 'comment_meta' );
		}
		$wpdb->query( "TRUNCATE $wpdb->comments" );
		$wpdb->query( "TRUNCATE $wpdb->commentmeta" );
	}
private function empty_comments() {
		global $wpdb;

		// Empty comments and comment cache
		$comment_ids = $wpdb->get_col( "SELECT comment_ID FROM $wpdb->comments" );
		foreach ( $comment_ids as $comment_id ) {
			wp_cache_delete( $comment_id, 'comment' );
			wp_cache_delete( $comment_id, 'comment_meta' );
		}
		$wpdb->query( "TRUNCATE $wpdb->comments" );
		$wpdb->query( "TRUNCATE $wpdb->commentmeta" );
	}
private function empty_comments ( ) { global $ wpdb ; // Empty comments and comment cache $ comment_ids = $ wpdb -> get_col ( "SELECT comment_ID FROM $wpdb->comments" ) ; foreach ( $ comment_ids as $ comment_id ) { wp_cache_delete ( $ comment_id , 'comment' ) ; wp_cache_delete ( $ comment_id , 'comment_meta' ) ; } $ wpdb -> query ( "TRUNCATE $wpdb->comments" ) ; $ wpdb -> query ( "TRUNCATE $wpdb->commentmeta" ) ; }
Delete comments.
Delete comments .