wp user delete <user>
Deletes one or more users from the current site
Arguments
Name | Description |
---|---|
user | The user login, user email, or user ID of the user(s) to delete |
Options
Name | Description |
---|---|
--network | On multisite, delete the user from the entire network |
--reassign <user-id> | User ID to reassign the posts to |
--yes | Answer yes to any confirmation prompts |