Automattic\WooCommerce\Admin\API\Reports

Cache::invalidate()public staticWC 1.0

Invalidate cache.

Method of the class: Cache{}

No Hooks.

Return

null. Nothing (null).

Usage

$result = Cache::invalidate();

Cache::invalidate() code WC 9.6.0

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