public function delete( $args, $assoc_args ) {
		list( $id ) = $args;

		$assoc_args = wp_parse_args( $assoc_args, array(
			'delete_blogs' => false,
		) );

		$network_id = delete_network( $id, $assoc_args['delete_blogs'] );

		if ( is_wp_error( $network_id ) ) {
			WP_CLI::error( $network_id );
		}

		WP_CLI::success( sprintf( 'Deleted network %d.', $id ) );
	}
public function delete( $args, $assoc_args ) {
		list( $id ) = $args;

		$assoc_args = wp_parse_args( $assoc_args, array(
			'delete_blogs' => false,
		) );

		$network_id = delete_network( $id, $assoc_args['delete_blogs'] );

		if ( is_wp_error( $network_id ) ) {
			WP_CLI::error( $network_id );
		}

		WP_CLI::success( sprintf( 'Deleted network %d.', $id ) );
	}
public function delete ( $ args , $ assoc_args ) { list ( $ id ) = $ args ; $ assoc_args = wp_parse_args ( $ assoc_args , array ( 'delete_blogs' => false , ) ) ; $ network_id = delete_network ( $ id , $ assoc_args [ 'delete_blogs' ] ) ; if ( is_wp_error ( $ network_id ) ) { WP_CLI :: error ( $ network_id ) ; } WP_CLI :: success ( sprintf ( 'Deleted network %d.' , $ id ) ) ; }
Delete a network.

<id>
: ID for network

[--delete_blogs=<delete_blogs>]
: Delete blogs in this network

@since 1.3.0

@param array $args       Positional CLI arguments.
@param array $assoc_args Associative CLI arguments.
Delete a network .