Parses an ‘order’ query variable and cast it to ‘ASC’ or ‘DESC’ as necessary.
WP_Network_Query::parse_orderby
Parses and sanitizes ‘orderby’ keys passed to the network query.
WP_Network_Query::get_search_sql
Used internally to generate an SQL string for searching across multiple columns.
WP_Network_Query::set_found_networks
Populates found_networks and max_num_pages properties for the current query if the limit clause was used.
Advertisement
found_networks_query
Filters the query used to retrieve found network count.
networks_clauses
Filters the network query clauses.
WP_Network_Query::get_network_ids
Used internally to get a list of network IDs matching the query vars.
the_networks
Filters the network query results.
Advertisement
networks_pre_query
Filter the network data before the query takes place.
pre_get_networks
Fires before networks are retrieved.
WP_Network_Query::get_networks
Gets a list of networks matching the query vars.
parse_network_query
Fires after the network query vars have been parsed.
Advertisement
WP_Network_Query::query
Sets up the WordPress query for retrieving networks.
WP_Network_Query::parse_query
Parses arguments passed to the network query with default query parameters.
WP_Network_Query::__construct
Constructor.