wp --info
wp theme update --all
Navigate to wp-content/plugins/
. Then run this command to create a new plugin called my-awesome-plugin
.
wp scaffold plugin my-awesome-plugin
wp plugin list
wp plugin update --all
wp plugin activate my-awesome-plugin
wp plugin deactivate my-awesome-plugin
Add your username and email. The following command will return a password.
wp user create YOUR_USER_NAME your.email@example.com --role=administrator
Check this example code.