Comandos útiles con wp-cli

Forzar versión especifica de WordPress


$ wp core version
6.0
$ wp core update --version=5.9.3 --force
Updating to version 5.9.3 (en_US)...
Downloading update from https://wordpress.org/wordpress-5.9.3.zip...
Unpacking the update...
Cleaning up files...
...
Success: WordPress updated successfully.
$ wp core version
5.9.3

Como crear un usuario

wp user create --role=administrator lbonomo [email protected]

Listar plugins a actualizar

wp plugin list --fields=name,version --update=available