w3tc_usage_statistics_metric_values

w3tc_usage_statistics_metric_values

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: w3-total-cache.2.7.0

apply_filters('w3tc_usage_statistics_metric_values') is found 1 times:

  • /UsageStatistics_StorageWriter.php line 204
    			$metric_values[$metric] = $this->cache_storage->counter_get( $metric );
    			$this->cache_storage->counter_set( $metric, 0 );
    		}
    
    		$metric_values = apply_filters( 'w3tc_usage_statistics_metric_values',
    			$metric_values );
    
    		$history_encoded = get_site_option( 'w3tc_stats_history' );
    		$history = null;
    		if ( !empty( $history_encoded ) )
    			$history = json_decode( $history_encoded, true );
    

See this hook used in plugins: