wpdb::timer_start() WordPress Method
The wpdb::timer_start() method is used to start a timer for measuring the time spent on a particular database operation. This is useful for debugging purposes, to see how long a particular operation takes. The method takes a single parameter, which is a label for the timer.
wpdb::timer_start() #
Starts the timer, for debugging purposes.
Return
(true)
Source
File: wp-includes/wp-db.php
public function timer_start() { $this->time_start = microtime( true ); return true; }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |