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:

Description

Retrieves or displays the time from the page start to when function is called.

Related Functions

timer_start, timer_float, term_exists, the_post, get_importers

Top Google Results

User discussions

wpseek mobile