Summery Summery
If Multisite is enabled.
Syntax Syntax
Return Return
(bool) True if Multisite is enabled, false otherwise.
Source Source
File: wp-includes/load.php
* @since 3.1.0 * * @global WP_Screen $current_screen WordPress current screen object. * * @return bool True if inside WordPress network administration pages. */ function is_network_admin() { if ( isset( $GLOBALS['current_screen'] ) ) { return $GLOBALS['current_screen']->in_admin( 'network' ); } elseif ( defined( 'WP_NETWORK_ADMIN' ) ) { return WP_NETWORK_ADMIN;
Advertisement
Changelog Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |