Using WP-CLI via SSH
WP-CLI
Check availability
wp --version
Common commands
# Update WordPress
wp core update
wp plugin update --all
wp theme update --all
# Plugins
wp plugin list
wp plugin activate plugin-name
wp plugin deactivate plugin-name
# Cache
wp cache flush
# Database
wp db optimize
wp search-replace 'old' 'new'
Create user
wp user create john john@example.com --role=administrator
Reset password
wp user update admin --user_pass=newpassword
Need help?
We're here for you! Running into issues or have questions? Our support team is happy to help you personally. Drop us a message through the ticket system - we usually respond within a few hours and love helping you find the best solution.
Was dit artikel nuttig?
0 van 0 vonden dit nuttig