Automattic\WooCommerce\Caching

CacheEngine::delete_cache_group()publicWC 1.0

Deletes all cached objects under a given group.

Method of the class: CacheEngine{}

No Hooks.

Return

true|false. True if the group is deleted successfully, false otherwise.

Usage

$CacheEngine = new CacheEngine();
$CacheEngine->delete_cache_group( $group ): bool;
$group(string)
The group to delete.
Default: ''

CacheEngine::delete_cache_group() code WC 9.3.3

public function delete_cache_group( string $group = '' ): bool;