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.
public function get_clauses() {
return $this->clauses;
}
| Version | Description |
|---|---|
| 4.2.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_meta_query/get_clauses