Yoast\WP\Lib
ORM::add_where()
Adds a WHERE condition to the query. Internal method.
Метод класса: ORM{}
Хуков нет.
Возвращает
ORM
.
Использование
// protected - в коде основоного (родительского) или дочернего класса $result = $this->add_where( $fragment, $values );
- $fragment(строка) (обязательный)
- The fragment.
- $values(массив)
- The values.
По умолчанию: an empty array
Код ORM::add_where() ORM::add where Yoast 24.1
protected function add_where( $fragment, $values = [] ) { return $this->add_condition( 'where', $fragment, $values ); }