Skip to content

Instantly share code, notes, and snippets.

@Rodgath
Created July 9, 2025 08:54
Show Gist options
  • Save Rodgath/2ffc216a45d0509ed7939f08ed59b386 to your computer and use it in GitHub Desktop.
Save Rodgath/2ffc216a45d0509ed7939f08ed59b386 to your computer and use it in GitHub Desktop.
Restore WordPress Password Using WP CLI
# Reset a User Password with WP-CLI
wp user update USERNAME --user_pass=MY_NEW_PASSWORD
# Example:
wp user update johndoe --user_pass=pass1234
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment