WordPress at a glance
function is not described

wp_get_network() WP 3.9.0

Deprecated in 4.7.0. It is no longer supported and can be removed in future releases. Use `get_network()` instead.

Retrieve an object containing information about the requested network.

  • See: get_network()

No Hooks.


WP_Network/false. Object containing network information if found, false if not.


wp_get_network( $network );
$network(object/int) (required)
The network's database row or ID.

Code of wp get network: wp-includes/ms-load.php WP 5.2.2

function wp_get_network( $network ) {
	_deprecated_function( __FUNCTION__, '4.7.0', 'get_network()' );

	$network = get_network( $network );
	if ( null === $network ) {
		return false;

	return $network;