WordPress\AiClientDependencies\Psr\SimpleCache

CacheInterface::deletepublicWP 1.0

Delete an item from the cache by its unique key.

Method of the class: CacheInterface{}

No Hooks.

Returns

true|false. True if the item was successfully removed. False if there was an error.

Usage

$CacheInterface = new CacheInterface();
$CacheInterface->delete( $key );
$key(string) (required)
The unique cache key of the item to delete.

CacheInterface::delete() code WP 7.0

public function delete($key);