wp super-admin add
Overview
Provide a standard user with Network-wide Super Admin privileges. Super admins can manage all sites, themes, and plugins across the entire network. Use this with caution.
Syntax
wp super-admin add <user>...
Options
| Flag | Description |
|---|---|
USER | User ID, email, or username to promote |
Basic Usage
wp super-admin add jane_doe
Output:
Success: Granted super-admin capabilities to jane_doe.
Real-World Scenarios
Promoting multiple users at once
wp super-admin add 5 8 12
Best Practices
- Least Privilege — Only grant super admin status to users who absolutely need to manage the network.
- Use specific roles — For users who only need to manage one subsite, use
wp user set-roleon that specific subsite instead.
Next Steps
wp super-admin list— verify the new super admin.wp super-admin remove— revoke privileges.