Retrieve the closest matching network for a domain and path.
WP_Network::_set_cookie_domain
Set the cookie domain based on the network domain if one has not been populated.
WP_Network::_set_site_name
Set the site name assigned to the network if one has not been populated.
WP_Network::get_main_site_id
Returns the main site ID for the network.
Advertisement
WP_Network::__set
Setter.
WP_Network::__isset
Isset-er.
WP_Network::__get
Getter.
WP_Network::__construct
Create a new WP_Network object.
Advertisement
WP_Network::get_instance
Retrieve a network from the database by its ID.
WP_Network_Query::parse_order
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.
Advertisement
WP_Network_Query::set_found_networks
Populates found_networks and max_num_pages properties for the current query if the limit clause was used.
WP_Network_Query::get_network_ids
Used internally to get a list of network IDs matching the query vars.
WP_Network_Query::get_networks
Gets a list of networks matching the query vars.