Alert: This function’s access is marked private. This means it is not intended for use by plugin or theme developers, only in other core functions. It is listed here for completeness. Use timer_stop() instead.
timer_start() WordPress Function
The timer_start() function is used to start a timer. It takes two parameters: the name of the timer and an optional boolean value indicating whether or not to reset the timer. If the boolean value is set to true, the timer will be reset.
timer_start() #
Start the WordPress micro-timer.
Description
See also
Return
(bool) Always returns true.
Source
File: wp-includes/load.php
function timer_start() { global $timestart; $timestart = microtime( true ); return true; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
0.71 | Introduced. |