WordPress\AiClientDependencies\Psr\SimpleCache

CacheInterface::clear │ public │ WP 1.0

Wipes clean the entire cache's keys.

Method of the class: CacheInterface{}

No Hooks.

Returns

bool. True on success and false on failure.

Usage

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

CacheInterface::clear() code WP 7.1.2

public function clear();