public function delete( $args, $assoc_args ) {
		list( $key, $group ) = $args;
		$result              = wp_cache_delete( $key, $group );

		if ( false === $result ) {
			WP_CLI::error( 'The object was not deleted.' );
		}

		WP_CLI::success( 'Object deleted.' );
	}
public function delete( $args, $assoc_args ) {
		list( $key, $group ) = $args;
		$result              = wp_cache_delete( $key, $group );

		if ( false === $result ) {
			WP_CLI::error( 'The object was not deleted.' );
		}

		WP_CLI::success( 'Object deleted.' );
	}
public function delete ( $ args , $ assoc_args ) { list ( $ key , $ group ) = $ args ; $ result = wp_cache_delete ( $ key , $ group ) ; if ( false === $ result ) { WP_CLI :: error ( 'The object was not deleted.' ) ; } WP_CLI :: success ( 'Object deleted.' ) ; }
Removes a value from the object cache.

Errors if the value can't be deleted.

## OPTIONS

<key>
: Cache key.

[<group>]
: Method for grouping data within the cache which allows the same key to be used across groups.
---
default: default
---

## EXAMPLES

# Delete cache.
$ wp cache delete my_key my_group
Success: Object deleted.
Removes a value from the object cache .