WordPress\AiClientDependencies\Psr\SimpleCache

CacheInterface::delete │ public │ WP 1.0

Delete an item from the cache by its unique key.

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

Хуков нет.

Возвращает

bool. True if the item was successfully removed. False if there was an error.

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

$CacheInterface = new CacheInterface();
$CacheInterface->delete( $key );
$key(строка) (обязательный)
The unique cache key of the item to delete.

Код CacheInterface::delete() WP 7.1.2

public function delete($key);