timer_start() - WordPress 函数参考中文文档

返回介绍

timer_start()

发布于 2017-09-11 字数893 浏览 773 评论 0

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()

Start the WordPress micro-timer.


描述


返回值

(bool) Always returns true.


源代码

File: wp-includes/load.php

function timer_start() {
	global $timestart;
	$timestart = microtime( true );
	return true;
}

更新日志

Version 描述
0.71 Introduced.

User Contributed Notes

上一篇:the_widget()

下一篇:timer_stop()

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

目前还没有任何评论,快来抢沙发吧!