Checks whether the current query has any OR relations.
meta_query_find_compatible_table_alias
Filters the table alias identified as compatible with the current clause.
WP_Meta_Query::find_compatible_table_alias
Identify an existing table alias that is compatible with the current query clause.
WP_Meta_Query::get_clauses
Get a flattened list of sanitized meta clauses.
Advertisement
WP_Meta_Query::get_sql_for_clause
Generate SQL JOIN and WHERE clauses for a first-order query clause.
WP_Meta_Query::get_sql_for_query
Generate SQL clauses for a single query array.
WP_Meta_Query::get_sql_clauses
Generate SQL clauses to be appended to a main query.
get_meta_sql
Filters the meta query’s generated SQL.
Advertisement
WP_Meta_Query::get_sql
Generates SQL clauses to be appended to a main query.
WP_Meta_Query::parse_query_vars
Constructs a meta query based on ‘meta_*’ query vars
WP_Meta_Query::get_cast_for_type
Return the appropriate alias for the given meta type if applicable.
WP_Meta_Query::is_first_order_clause
Determine whether a query clause is first-order.
Advertisement
WP_Meta_Query::sanitize_query
Ensure the ‘meta_query’ argument passed to the class constructor is well-formed.
WP_Meta_Query::__construct
Constructor.
WP_Meta_Query
Core class used to implement meta queries for the Meta API.