get_current_site
get_current_site ( No parameters )
See:Returns:- (WP_Network) The current network.
Defined at:Change Log: - Introduced in WordPress: —
- Deprecated in WordPress: —
Description
Gets the current network.Returns an object containing the 'id', 'domain', 'path', and 'site_name'
properties of the network being viewed.