Core Function
View Source on Trac ↗ wp_get_network()
wp_get_network( mixed $network ) Retrieves an object containing information about the requested network.
Parameters 1 required
| Name / Type | Description |
|---|---|
| (object | | int) $network The network's database row or ID. Required |
Return Value
((WP_Network)
| false) Object containing network information if found, false if not.
Function Information
Since Version
3.9.0
Source File
wp-includes/ms-load.php
Advertisement