wpseek.com
A WordPress-centric search engine for devs and theme authors



is_super_admin_user › WordPress Function

Since6.1.0
Deprecatedn/a
is_super_admin_user ( $user_id = false )
Parameters:
  • (int|false) $user_id Optional. The ID of a user. Defaults to false, to check the current user.
    Required: No
    Default: false
See:
Returns:
  • (bool) Whether the user is a site admin.
Defined at:
Codex:
Change Log:
  • This

Determines whether user is a site admin.



Source

function is_super_admin_user( $user_id = false ) {
	return is_super_admin( $user_id );
}