WordPress at a glance
function is not described

Automattic\WooCommerce\Admin\Features

Analytics::run_clear_cache_tool() public WC 1.0

"Clear" analytics cache by invalidating it.

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

No Hooks.

Return

null. Nothing.

Usage

$Analytics = new Analytics();
$Analytics->run_clear_cache_tool();

Code of Analytics::run_clear_cache_tool() WC 5.3.0

<?php
public function run_clear_cache_tool() {
	Cache::invalidate();

	return __( 'Analytics cache cleared.', 'woocommerce' );
}