WP_Date_Query
Class for generating SQL clauses that filter a primary query according to date.
Class for generating SQL clauses that filter a primary query according to date.
Constructor.
Builds a MySQL format date/time based on some query parameters.
Builds a query string for comparing time values (hour, minute, second).
Builds and validates a value string based on the comparison operator.
Determines and validates what comparison operator to use.
Generate WHERE clause to be appended to a main query.
Generate SQL clauses to be appended to a main query.
Turns a first-order date query into SQL for a WHERE clause.
Generate SQL clauses for a single query array.