Coding Agency for Web Development » WordPress Hacks » WP All Import released wp-cli integration

WP All Import released wp-cli integration

READING TIME: MIN

The famous mass import plugin – WP All Import – has officially launched an integration with wp-cli!

This is what we call good news! We (and many other users) have been requesting this feature for years now! Some of you even now we have previously written a small bash script that allows such integration.

Why it was important to have wp-cli integration?

The majority of import users run via WP All Import are huge lists of stock data that often timed out. Running the process via cli will decrease the chance of anything to break or times out. WP All Import is saying that the imports will run about 50% faster than from the front-end.

How to use the integration?

All you need to do is to run the following line:

$ wp all-import run <import id>

You can also set it as a cron job. If you haven’t configured your wp alias, then your command needs to be changed as:

$ php wp-cli.phar all-import run <import id>

You can learn more on the official WP All Import documentation.

  Optimizing Your Wordpress Site For Maximum User Engagement and Retention

Tags:

Vipe Team

Author Vipe Team

Our tireless team who creates high-quality WordPress-related content for you 24/7/365.