wp user add-role <user> <role>
Adds a role for a user
Arguments
| Name | Description |
|---|---|
user | User ID, user email, or user login |
role | Add the specified role to the user |
Adds a role for a user
| Name | Description |
|---|---|
user | User ID, user email, or user login |
role | Add the specified role to the user |