w3tc_usage_statistics_summary_from_history

w3tc_usage_statistics_summary_from_history

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

See hook in core

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

apply_filters('w3tc_usage_statistics_summary_from_history') is found 1 times:

  • /UsageStatistics_StorageReader.php line 50
    			$period['seconds'] = $timestamp_end - $timestamp_start;
    			$summary['period'] = $period;
    			$summary['timeout_time'] = time() + 15;
    
    			$summary = apply_filters( 'w3tc_usage_statistics_summary_from_history',
    				$summary, $history );
    		}
    
    		$summary['period']['to_update_secs'] = (int)$w->get_hotspot_end() - time() + 1;
    
    		unset( $summary['memcached_servers'] );
    

See this hook used in plugins: