woocommerce_analytics_report_should_use_cache

woocommerce_analytics_report_should_use_cache

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_analytics_report_should_use_cache') is found 1 times:

  • /src/Admin/API/Reports/DataStore.php line 195
    		 *
    		 * @param bool $use_cache Whether or not to use cache.
    		 * @param string $cache_key The report's cache key. Used to identify the report.
    		 */
    		return (bool) apply_filters( 'woocommerce_analytics_report_should_use_cache', true, $this->cache_key );
    	}
    
    	/**
    	 * Returns string to be used as cache key for the data.
    	 *
    	 * @param array $params Query parameters.