wpdb::timer_stop
Stops the debugging timer.
Method of the class: wpdb{}
No Hooks.
Returns
float. Total time spent on the query, in seconds.
Usage
global $wpdb; $wpdb->timer_stop();
Changelog
| Since 1.5.0 | Introduced. |
wpdb::timer_stop() wpdb::timer stop code WP 7.0
public function timer_stop() {
return ( microtime( true ) - $this->time_start );
}