WP_Meta_Query::get_clauses(): array

Gets a flattened list of sanitized meta clauses.


Description

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.


Top ↑

Return

array Meta clauses.


Top ↑

Source

File: wp-includes/class-wp-meta-query.php. View all references

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

Top ↑

Changelog

Changelog
Version Description
4.2.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.