Title: Trigger import after export
Last modified: December 18, 2023

---

# Trigger import after export

 *  Resolved [vissersj](https://wordpress.org/support/users/vissersj/)
 * (@vissersj)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/trigger-import-after-export/)
 * I use WPAE to export a simple form in CSV format and afterwards use WPAI to import
   that CSV file to create WooCommerce products. At the moment I have four cron 
   jobs running for the export/import process, but is there a code snippet available
   to trigger the import after the export is finished? It would eliminate the trigger
   cron job (for import) and helps me make the process more efficient. Thanks in
   advance!

Viewing 1 replies (of 1 total)

 *  Plugin Author [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [2 years, 5 months ago](https://wordpress.org/support/topic/trigger-import-after-export/#post-17292429)
 * Hi [@vissersj](https://wordpress.org/support/users/vissersj/),
 * > but is there a code snippet available to trigger the import after the export
   > is finished?
 * You can use the [wp_remote_get()](https://developer.wordpress.org/reference/functions/wp_remote_get/)
   function on the import trigger URL via this hook: [https://www.wpallimport.com/documentation/action-reference/#pmxe_after_export](https://www.wpallimport.com/documentation/action-reference/#pmxe_after_export).
 * That said, cron imports/exports are a pro feature, so you’ll need to contact 
   us here if you have any further questions: [http://www.wpallimport.com/support/](http://www.wpallimport.com/support/).
   We can only answer questions about our free features here.

Viewing 1 replies (of 1 total)

The topic ‘Trigger import after export’ is closed to new replies.

 * ![](https://ps.w.org/wp-all-import/assets/icon-256x256.png?rev=2570179)
 * [WP All Import – Drag & Drop Import for CSV, XML, Excel & Google Sheets](https://wordpress.org/plugins/wp-all-import/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-all-import/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-all-import/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-all-import/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-all-import/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-all-import/reviews/)

## Tags

 * [cron job](https://wordpress.org/support/topic-tag/cron-job/)

 * 1 reply
 * 2 participants
 * Last reply from: [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * Last activity: [2 years, 5 months ago](https://wordpress.org/support/topic/trigger-import-after-export/#post-17292429)
 * Status: resolved