WordPress at Your Fingertips
filter is not described

woocommerce_analytics_report_should_use_cache filter-hook . WC 1.0

Determines if a report will utilize caching.

Usage

add_filter( 'woocommerce_analytics_report_should_use_cache', 'filter_function_name_5009', 10, 2 );
function filter_function_name_5009( $use_cache, $cache_key ){
	// filter...

	return $use_cache;
}
$use_cache(true|false)
Whether or not to use cache.
$cache_key(string)
The report's cache key. Used to identify the report.

Where the hook is called

DataStore::should_use_cache()
woocommerce_analytics_report_should_use_cache
woocommerce/packages/woocommerce-admin/src/API/Reports/DataStore.php 143
return (bool) apply_filters( 'woocommerce_analytics_report_should_use_cache', true, $this->cache_key );

Where in WP core the hook is used WooCommerce

Usage not found.