Optimize post insert and delete for bulk operations?

Not much noticeable when working with individual posts, but when you create or delete multiple thousands in bulk and by code – process is quite slow.

Are there any good tweaks to apply and corners to cut?

Read More

Context:

  • wp_insert_post() with categories and tags passed;
  • add several custom fields;
  • create and associate attachments (from existing files).

Related posts

Leave a Reply

1 comment