Constructor.
WP_Date_Query::sanitize_query
Recursive-friendly query sanitizer.
WP_Date_Query::is_first_order_clause
Determine whether this is a first-order clause.
WP_Date_Query::get_compare
Determines and validates what comparison operator to use.
Advertisement
WP_Date_Query::validate_date_values
Validates the given date_query values and triggers errors if something is not valid.
WP_Date_Query::validate_column
Validates a column name parameter.
WP_Date_Query::get_sql
Generate WHERE clause to be appended to a main query.
WP_Date_Query::get_sql_clauses
Generate SQL clauses to be appended to a main query.
Advertisement
WP_Date_Query::get_sql_for_query
Generate SQL clauses for a single query array.
WP_Date_Query::get_sql_for_subquery
Turns a single date clause into pieces for a WHERE clause.
WP_Date_Query::get_sql_for_clause
Turns a first-order date query into SQL for a WHERE clause.
WP_Date_Query::build_value
Builds and validates a value string based on the comparison operator.
Advertisement
WP_Date_Query::build_mysql_datetime
Builds a MySQL format date/time based on some query parameters.
WP_Date_Query::build_time_query
Builds a query string for comparing time values (hour, minute, second).
WP_Date_Query::build_mysql_datetime
Builds a MySQL format date/time based on some query parameters.