Determines if a report will utilize caching.
true, $this->cache_key
Sortie :
@param bool $use_cache Whether or not to use cache. @param string $cache_key The report's cache key. Used to identify the report.
// Modifier la valeur avec le filtre 'woocommerce_analytics_report_should_use_cache'
add_filter('woocommerce_analytics_report_should_use_cache', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre(true) {
// Modifier la valeur
return true;
}
Chargement des actualités...