Function: is_network_admin

is_network_admin( )

Whether the current request is for the network administrative interface.

e.g. /wp-admin/network/

Does not check if the user is an administrator; current_user_can() for checking roles and capabilities.

Returns

boolean

True if inside WordPress network administration pages.

WordPress Developer Newsletter

Stay on top of the latest WordPress API changes, developer tool updates, security alerts and more.