timer_stop

Advertisement

Summery Summery

Retrieve or display the time from the page start to when function is called.

Syntax Syntax

timer_stop( int|bool $display, int $precision = 3 )

Parameters Parameters

$display

(Required) Whether to echo or return the results. Accepts 0|false for return, 1|true for echo. Default 0|false.

$precision

(Optional) The number of digits from the right of the decimal to display.

Default value: 3

Return Return

(string) The "second.microsecond" finished time calculation. The number is formatted for human consumption, both localized and rounded.

Source Source

File: wp-includes/load.php

	if ( ( time() - $upgrading ) >= 10 * MINUTE_IN_SECONDS ) {
		return false;
	}

	/**
	 * Filters whether to enable maintenance mode.
	 *
	 * This filter runs before it can be used by plugins. It is designed for
	 * non-web runtimes. If this filter returns true, maintenance mode will be
	 * active and the request will end. If false, the request will be allowed to

Advertisement

Changelog Changelog

Changelog
Version Description
0.71 Introduced.

Advertisement

Leave a Reply