WordPress WP-CLI 2 · Users
Reset a user's password
Set a new password for the user with ID 1. Use a real password.
wp user update 1 --user_pass=change-me
Official WordPress WP-CLI 2 documentation
WordPress WP-CLI 2 · Users
Set a new password for the user with ID 1. Use a real password.
wp user update 1 --user_pass=change-me
Official WordPress WP-CLI 2 documentation
Was this page helpful?