WP_Meta_Query::get_clauses
Gets a flattened list of sanitized meta clauses.
This array should be used for clause lookup, as when the table alias and CAST type must be determined for a value of 'orderby' corresponding to a meta clause.
Метод класса: WP_Meta_Query{}
Хуков нет.
Возвращает
Массив. Meta clauses.
Использование
$WP_Meta_Query = new WP_Meta_Query(); $WP_Meta_Query->get_clauses();
Список изменений
| С версии 4.2.0 | Введена. |
Код WP_Meta_Query::get_clauses() WP Meta Query::get clauses WP 6.9.4
public function get_clauses() {
return $this->clauses;
}