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:

Description

Determines whether user is a site admin.

Related Functions

is_user_admin, is_site_admin, get_super_admins, grant_super_admin, revoke_super_admin

Top Google Results

User discussions

wpseek mobile