Title: Stop after first unique import
Last modified: November 3, 2016

---

# Stop after first unique import

 *  Resolved [wploveme](https://wordpress.org/support/users/wploveme/)
 * (@wploveme)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/stop-after-first-unique-import/)
 * Hi,
 * I have a XML file with some records in, I want it to stop after the first successful
   unique import what do I need to put to do so?
 * IE
 * if it imports dog1, and dog1 exists then import dog2.. but if dog1 doesn’t exist
   just import dog1 and exit.
 * Thanks in Advance.

Viewing 1 replies (of 1 total)

 *  Plugin Author [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [9 years, 6 months ago](https://wordpress.org/support/topic/stop-after-first-unique-import/#post-8402889)
 * Hi wploveme.
 * This would require some custom PHP tied to our API: [http://www.wpallimport.com/documentation/developers/action-reference/](http://www.wpallimport.com/documentation/developers/action-reference/).
   Unfortunately, I don’t have any example snippets for this.

Viewing 1 replies (of 1 total)

The topic ‘Stop after first unique import’ 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/)

 * 1 reply
 * 2 participants
 * Last reply from: [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * Last activity: [9 years, 6 months ago](https://wordpress.org/support/topic/stop-after-first-unique-import/#post-8402889)
 * Status: resolved