Examples
# List user with super-admin capabilities.
$ wp super-admin list
supervisor
administrator
# Grant super-admin privileges to the user.
$ wp super-admin add superadmin2
Success: Granted super-admin capabilities to 1 user.
# Revoke super-admin privileges from the user.
$ wp super-admin remove superadmin2
Success: Revoked super-admin capabilities from 1 user.
Subcommands
Name | Description |
---|---|
wp super-admin add | Grants super admin privileges to one or more users. |
wp super-admin list | Lists users with super admin capabilities. |
wp super-admin remove | Removes super admin privileges from one or more users. |