WordPress at Your Fingertips
function is not described

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.

{} It's a method of the class: WP_Meta_Query{}

No Hooks.


Array. Meta clauses.


$WP_Meta_Query = new WP_Meta_Query();


Since 4.2.0 Introduced.

Code of WP_Meta_Query::get_clauses() WP 5.9

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