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.


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;
Whether or not to use cache.
The report's cache key. Used to identify the report.

Where the hook is called

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.