timer_start

The timeline below displays how wordpress function timer_start has changed across different WordPress versions. If a version is not listed, refer to the next available version below.

WordPress Version: 6.3

/**
 * Starts the WordPress micro-timer.
 *
 * @since 0.71
 * @access private
 *
 * @global float $timestart Unix timestamp set at the beginning of the page load.
 * @see timer_stop()
 *
 * @return bool Always returns true.
 */
function timer_start()
{
    global $timestart;
    $timestart = microtime(true);
    return true;
}

WordPress Version: 4.0

/**
 * Start the WordPress micro-timer.
 *
 * @since 0.71
 * @access private
 *
 * @global float $timestart Unix timestamp set at the beginning of the page load.
 * @see timer_stop()
 *
 * @return bool Always returns true.
 */
function timer_start()
{
    global $timestart;
    $timestart = microtime(true);
    return true;
}

WordPress Version: 3.7

/**
 * PHP 5 standard microtime start capture.
 *
 * @access private
 * @since 0.71
 * @global float $timestart Seconds from when function is called.
 * @return bool Always returns true.
 */
function timer_start()
{
    global $timestart;
    $timestart = microtime(true);
    return true;
}