Faster way to wp_insert_post & add_post_meta in bulk
I had similar problems sometime ago with a custom CSV import, but I ended up by using some custom SQL for the bulk insert. But I hadn’t seen this answer by then: Optimize post insert and delete for bulk operations? to use wp_defer_term_counting() to enable or disable term counting. Also if you check out the … Read more