Automattic\WooCommerce\Caching

CacheEngine::delete_cache_grouppublicWC 1.0

Deletes all cached objects under a given group.

Method of the class: CacheEngine{}

No Hooks.

Returns

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 10.4.3

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