Automattic\WooCommerce\Admin\API\Reports

Cache::invalidatepublic staticWC 1.0

Invalidate cache.

Method of the class: Cache{}

No Hooks.

Returns

null. Nothing (null).

Usage

$result = Cache::invalidate();

Cache::invalidate() code WC 10.4.3

public static function invalidate() {
	\WC_Cache_Helper::get_transient_version( self::VERSION_OPTION, true );
}