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:

Description

Revokes Super Admin privileges.

Related Functions

get_super_admins, is_super_admin, grant_super_admin, is_user_admin, wp_revoke_user

Top Google Results

User discussions

wpseek mobile