wpdb::timer_stop()
Stops the debugging timer.
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. |
wpdb::timer_stop() wpdb::timer stop code WP 6.6.2
public function timer_stop() { return ( microtime( true ) - $this->time_start ); }