timer_stop
timer_stop ( $display = 0, $precision = 3 )
Parameters:- (int|bool) display Whether to echo or return the results. Accepts 0|false for return, 1|true for echo. Default 0|false.
- (int) precision The number of digits from the right of the decimal to display. Default 3.
Returns:- (string) The "second.microsecond" finished time calculation. The number is formatted for human consumption, both localized and rounded.
Defined at: - Introduced in WordPress: 0.71
- Deprecated in WordPress: —
Description
Retrieves or displays the time from the page start to when function is called.