WPSEO_Database_Proxy::pre_execution
Executed before a query will be ran.
Метод класса: WPSEO_Database_Proxy{}
Хуков нет.
Возвращает
void. Ничего (null).
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->pre_execution();
Код WPSEO_Database_Proxy::pre_execution() WPSEO Database Proxy::pre execution Yoast 28.4
protected function pre_execution() {
if ( $this->suppress_errors ) {
$this->last_suppressed_state = $this->database->suppress_errors();
}
}