Automattic\WooCommerce\Caching
CacheEngine::delete_cache_group()
Deletes all cached objects under a given group.
Метод класса: CacheEngine{}
Хуков нет.
Возвращает
true|false
. True if the group is deleted successfully, false otherwise.
Использование
$CacheEngine = new CacheEngine(); $CacheEngine->delete_cache_group( $group ): bool;
- $group(строка)
- The group to delete.
По умолчанию: ''
Код CacheEngine::delete_cache_group() CacheEngine::delete cache group WC 9.2.3
public function delete_cache_group( string $group = '' ): bool;