public function flush( $args, $assoc_args ) {
		$value = wp_cache_flush();

		if ( false === $value ) {
			WP_CLI::error( 'The object cache could not be flushed.' );
		}

		WP_CLI::success( 'The cache was flushed.' );
	}
public function flush( $args, $assoc_args ) {
		$value = wp_cache_flush();

		if ( false === $value ) {
			WP_CLI::error( 'The object cache could not be flushed.' );
		}

		WP_CLI::success( 'The cache was flushed.' );
	}
public function flush ( $ args , $ assoc_args ) { $ value = wp_cache_flush ( ) ; if ( false === $ value ) { WP_CLI :: error ( 'The object cache could not be flushed.' ) ; } WP_CLI :: success ( 'The cache was flushed.' ) ; }
Flushes the object cache.

For WordPress multisite instances using a persistent object cache,
flushing the object cache will typically flush the cache for all sites.
Beware of the performance impact when flushing the object cache in
production.

Errors if the object cache can't be flushed.

## EXAMPLES

# Flush cache.
$ wp cache flush
Success: The cache was flushed.
Flushes the object cache .