Parses an ‘order’ query variable and cast it to ‘ASC’ or ‘DESC’ as necessary.
Parses and sanitizes ‘orderby’ keys passed to the site query.
Used internally to generate an SQL string for searching across multiple columns.
Filters the query used to retrieve found site count.
Populates found_sites and max_num_pages properties for the current query if the limit clause was used.
Filters the site query clauses.
Filters the columns to search in a WP_Site_Query search.
Used internally to get a list of site IDs matching the query vars.
Filters the site query results.
Filter the site data before the get_sites query takes place.
Fires before sites are retrieved.
Retrieves a list of sites matching the query vars.
Sets up the WordPress query for retrieving sites.
Fires after the site query vars have been parsed.
Parses arguments passed to the site query with default query parameters.