WP_Meta_Query::get_clauses() public WP 4.2.0
Get 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 5.7.1
public function get_clauses() {
return $this->clauses;
}