I know that I can clone or duplicate a post with several plugins. The one I use most often is https://wordpress.org/plugins/duplicate-post/. However I am using the WP-CLI more and...
Since WP 5.5 just released and now you can set plugins to auto-update, can this be done via wp-cli? Looking at the documentation, I don’t see a sub-command for...
WP-cli does not seem to work when adding a --path param me@host:~$ wp plugin status --path=`/home/me/domains/example.com/public_html` -bash: /home/me/domains/example.com/public_html: is a directory Error: This does not seem to be a...
I’m using wp-cli 1.5.1. My server is running php7.2. I’m not running suhosin. (Some people seem to think that suhosin may cause the same symptom) When I issue wpcli...
I am trying to set up a wp-cli.yml file but every time I run the command, the file is ignored. Where should the file be located? And how should...
I have around 1200 large images which I’d like to regenerate. I’m using the WP-CLI command wp media regenerate. After around 61 images are generated, the terminal shows the...
I’m new to TDD and want to set up a test environment for my wordpress plugin. I was able to find a sample plugin from wp-cli with the very...
As a highly concerned hosting company owner I am using WP-CLI to update plugins, themes and wp core of my clients. Updating WP-Core find /home/*/public_html -name "wp-admin" -execdir /home/wp...
I am running the most recent version of WP-CLI on my mac. I do all WordPress development within Vagrant, but would like to run WP-CLI commands in the host...
After using WPML Media, a plugin that creates duplicates of each image for each language, we now have almost 100,000 duplicate images that we’re not going to use and...