Skip to main content

timer_end()

public static function timer_end( $event )

Returns the number of seconds that have elapsed since the start time was stashed for the specified event.

Since: 2.7.1

Source: common.php:8197

Parameters

NameTypeDefaultDescription
$eventstringThe event being timed.

Returns

  • int | float