wpdb::timer_stop() public WP 1.5.0
Stops the debugging timer.
{} It's a method of the class: wpdb{}
No Hooks.
Return
float. Total time spent on the query, in seconds.
Usage
global $wpdb; $wpdb->timer_stop();
Changelog
Since 1.5.0 | Introduced. |
Code of wpdb::timer_stop() wpdb::timer stop WP 5.6
public function timer_stop() {
return ( microtime( true ) - $this->time_start );
}