WordPress at a glance
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 5.2.2

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