WC_Cache_Helper::invalidate_cache_group( string $group )

Invalidate cache group.


Description Description


Parameters Parameters

$group

(Required) Group of cache to clear.


Top ↑

Source Source

File: includes/class-wc-cache-helper.php

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

Top ↑

Changelog Changelog

Changelog
Version Description
3.9.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.