wpdb::timer_stop()
Stops the debugging timer.
Метод класса: wpdb{}
Хуков нет.
Возвращает
float
. Total time spent on the query, in seconds.
Использование
global $wpdb; $wpdb->timer_stop();
Список изменений
С версии 1.5.0 | Введена. |
Код wpdb::timer_stop() wpdb::timer stop WP 6.5.2
public function timer_stop() { return ( microtime( true ) - $this->time_start ); }