WordPress at Your Fingertips
function is not described

Automattic\WooCommerce\Admin\API\Reports

Cache::invalidate() public WC 1.0

Invalidate cache.

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

No Hooks.

Return

null. Nothing.

Usage

$result = Cache::invalidate();

Code of Cache::invalidate() WC 6.1.0

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