wp user remove-role <user> <role>
Removes a user’s role
Arguments
Name | Description |
---|---|
user | User ID, user email, or user login |
role | A specific role to remove |
Removes a user’s role
Name | Description |
---|---|
user | User ID, user email, or user login |
role | A specific role to remove |