Determine a network by its domain and path.
network_by_path_segments_count
Filters the number of path segments to consider when searching for a site.
WP_Network::get_by_path
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.
Advertisement
WP_Network::_set_site_name
Set the site name assigned to the network if one has not been populated.
pre_get_main_site_id
Filters the main site ID.
WP_Network::get_main_site_id
Returns the main site ID for the network.
WP_Network::__set
Setter.
Advertisement
WP_Network::__isset
Isset-er.
WP_Network::__get
Getter.
WP_Network::__construct
Create a new WP_Network object.
WP_Network::get_instance
Retrieve a network from the database by its ID.
Advertisement
WP_Network
Core class used for interacting with a multisite network.