WordPress\AiClientDependencies\Psr\SimpleCache

CacheInterface::clearpublicWP 1.0

Wipes clean the entire cache's keys.

Method of the class: CacheInterface{}

No Hooks.

Returns

true|false. True on success and false on failure.

Usage

$CacheInterface = new CacheInterface();
$CacheInterface->clear();

CacheInterface::clear() code WP 7.0

public function clear();