Automattic\WooCommerce\Admin\API\Reports

Cache::invalidate()public staticWC 1.0

Invalidate cache.

Method of the class: Cache{}

No Hooks.

Return

null. Nothing.

Usage

$result = Cache::invalidate();

Cache::invalidate() code WC 7.3.0

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