WordPress at Your Fingertips
function is not described

WC_Cache_Helper::invalidate_cache_group() public WC 3.9.0

Invalidate cache group.

{} It's a method of the class: WC_Cache_Helper{}

No Hooks.

Return

null. Nothing.

Usage

$result = WC_Cache_Helper::invalidate_cache_group( $group );
$group(string) (required)
Group of cache to clear.

Changelog

Since 3.9.0 Introduced.

Code of WC_Cache_Helper::invalidate_cache_group() WC 5.9.0

public static function invalidate_cache_group( $group ) {
	wp_cache_set( 'wc_' . $group . '_cache_prefix', microtime(), $group );
}