Definition:
function is_network_admin() {}
Whether the current request is for a network admin screen /wp-admin/network/
Does not inform on whether the user is a network admin! Use capability checks to tell if the user should be accessing a section or not.
Return values
returns:True if inside WordPress network administration pages.
Source code
function is_network_admin() { if ( defined( 'WP_NETWORK_ADMIN' ) ) return WP_NETWORK_ADMIN; return false; }
9893
No comments yet... Be the first to leave a reply!