revoke_super_admin
revoke_super_admin ( $user_id )
Parameters:- (int) user_id ID of the user Super Admin privileges to be revoked from.
Returns:- (bool) True on success, false on failure. This can fail when the user's email is the network admin email or when the `$super_admins` global is defined.
Defined at: - Introduced in WordPress: 3.0.0
- Deprecated in WordPress: —
Description
Revokes Super Admin privileges.