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.

Method of the class: WP_Meta_Query{}

No Hooks.


Array. Meta clauses.


$WP_Meta_Query = new WP_Meta_Query();


Since 4.2.0 Introduced.

WP_Meta_Query::get_clauses() code WP 6.4.3

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