is_super_admin
is_super_admin ( $user_id = false )
Parameters:- (int|false) user_id Optional. The ID of a user. Defaults to false, to check the current user.
Returns:- (bool) Whether the user is a site admin.
Defined at: - Introduced in WordPress: 3.0.0
- Deprecated in WordPress: —
Description
Determines whether user is a site admin.