WP_Meta_Query::get_clauses()publicWP 4.2.0

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();

Список изменений

С версии 4.2.0 Введена.

Код WP_Meta_Query::get_clauses() WP 6.5.3

public function get_clauses() {
	return $this->clauses;