WordPress\AiClientDependencies\Psr\SimpleCache

CacheInterface::clear │ public │ WP 1.0

Wipes clean the entire cache's keys.

Метод класса: CacheInterface{}

Хуков нет.

Возвращает

bool. True on success and false on failure.

Использование

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

Код CacheInterface::clear() WP 7.1.4

public function clear();