Ensure the ‘meta_query’ argument passed to the class constructor is well-formed.
WP_Error::remove
Removes the specified error.
WP_Date_Query::get_sql_for_clause
Turns a first-order date query into SQL for a WHERE clause.
WP_Date_Query::get_sql_for_query
Generate SQL clauses for a single query array.
Advertisement
WP_Date_Query::get_sql_clauses
Generate SQL clauses to be appended to a main query.
date_query_valid_columns
Filters the list of valid date query columns.
WP_Date_Query::validate_date_values
Validates the given date_query values and triggers errors if something is not valid.
WP_Date_Query::is_first_order_clause
Determine whether this is a first-order clause.
Advertisement
WP_Date_Query::sanitize_query
Recursive-friendly query sanitizer.
WP_Date_Query::__construct
Constructor.
WP_Customize_Control::content_template
An Underscore (JS) template for this control’s content (but not its container).
WP_Customize_Control::print_template
Render the control’s JS template.
Advertisement
WP_Customize_Control::get_content
Get the control’s content for insertion into the Customizer pane.
WP_Customize_Control::json
Get the data to export to the client via JSON.
nav_menu_link_attributes
Filters the HTML attributes applied to a menu item’s anchor element.