WP_Network_Query
Core class used for querying networks.
Core class used for querying networks.
Constructor.
Used internally to get a list of network IDs matching the query vars.
Gets a list of networks matching the query vars.
Used internally to generate an SQL string for searching across multiple columns.
Parses an ‘order’ query variable and cast it to ‘ASC’ or ‘DESC’ as necessary.
Parses and sanitizes ‘orderby’ keys passed to the network query.
Parses arguments passed to the network query with default query parameters.
Sets up the WordPress query for retrieving networks.
Populates found_networks and max_num_pages properties for the current query if the limit clause was used.