Title: Remove warnings
Last modified: January 6, 2020

---

# Remove warnings

 *  Resolved [etos996](https://wordpress.org/support/users/etos996/)
 * (@etos996)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/remove-warnings/)
 * How can we remove products that do not update do re-run :
    “There were 0 errors
   and 1740 warnings in this import.”
 * Import is done not as new products but as existing item.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/remove-warnings/#post-12306075)
 * Hi [@etos996](https://wordpress.org/support/users/etos996/)
 * I’m sorry, but I’m not sure if I understand the question. Are you saying that
   you want to delete the products that have been removed from your import file?
   If so, I’m afraid that’s impossible with an “Existing Items” import.
 * If I misunderstood, could you please elaborate on what you’re trying to do and
   include some screenshots of the issue?
 *  Thread Starter [etos996](https://wordpress.org/support/users/etos996/)
 * (@etos996)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/remove-warnings/#post-12306258)
 * Please see screenshot.
    [https://prnt.sc/ql144z](https://prnt.sc/ql144z)
 * “1757 skipped” How we can delete these products?
    -  This reply was modified 6 years, 5 months ago by [etos996](https://wordpress.org/support/users/etos996/).
    -  This reply was modified 6 years, 5 months ago by [etos996](https://wordpress.org/support/users/etos996/).
 *  Plugin Author [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [6 years, 5 months ago](https://wordpress.org/support/topic/remove-warnings/#post-12341703)
 * Hi [@etos996](https://wordpress.org/support/users/etos996/)
 * > “1757 skipped” How we can delete these products?
 * It depends. If they’re skipped because of the ‘wp_all_import_is_post_to_update’
   filter, or if they’re skipped because you’ve disabled “Update existing posts”,
   then you could use the ‘wp_all_import_post_skipped’ hook to delete the posts 
   from the site:
 *     ```
       add_action( 'wp_all_import_post_skipped', 'my_delete_skipped', 10, 3 );
   
       function my_delete_skipped( $post_id, $import_id, $xml_data ) {
       	if ( ! empty( $post_id ) ) {
       		wp_delete_post( $post_id );
       	}
       }
       ```
   
 * If they’re skipped for any other reason, you’d have to manually delete them.
 *  Plugin Author [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * (@wpallimport)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/remove-warnings/#post-12374519)
 * [@etos996](https://wordpress.org/support/users/etos996/) I’m marking this as 
   resolved since we have not heard back. Let us know if you still have any questions
   regarding this issue. Anyone else, please start a new thread.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Remove warnings’ 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/)

 * 4 replies
 * 2 participants
 * Last reply from: [WP All Import](https://wordpress.org/support/users/wpallimport/)
 * Last activity: [6 years, 4 months ago](https://wordpress.org/support/topic/remove-warnings/#post-12374519)
 * Status: resolved