Function __global->preprocess_raw_data_for

Definitions

sources/stats.php

  • Pre-process raw data for a stats hook.
  • Visibility: public
  • Is abstract?: No
  • Is static?: No
  • Is final?: No

Parameters

Name Type Passed by reference? Variadic? Default Set Range Description
$hook_name string No No required parameter N/A N/A The hook name to preprocess data in
$start_time TIME No No 0 N/A N/A Start time
$end_time ?TIME No No Null N/A N/A End time (null: now)

Preview

Code (PHP)

/**
 * Pre-process raw data for a stats hook.
 *
 * @param  string $hook_name The hook name to preprocess data in
 * @param  TIME $start_time Start time
 * @param  ?TIME $end_time End time (null: now)
 */

function preprocess_raw_data_for(string $hook_name, int $start_time = 0, ?int $end_time = null)