WP-CLI

A command line interface for WordPress

Commands » super-admin

wp super-admin - Manage super admins on WordPress multisite.

Quick links: Github issues


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.

# Revoke super-admin privileges to the user.
$ wp super-admin remove superadmin2
Success: Revoked super-admin capabilities.

SUBCOMMANDS

Name Description
add Grant super admin privileges to one or more users.
list List users with super admin capabilities.
remove Remove super admin privileges from one or more users.