Summery Summery
Retrieves the current network ID.
Syntax Syntax
Return Return
(int) The ID of the current network.
Source Source
File: wp-includes/load.php
} elseif ( defined( 'WP_USER_ADMIN' ) ) {
return WP_USER_ADMIN;
}
return false;
}
/**
* If Multisite is enabled.
*
* @since 3.0.0
*
* @return bool True if Multisite is enabled, false otherwise.
Advertisement
Changelog Changelog
| Version | Description |
|---|---|
| 4.6.0 | Introduced. |