How many ‘wp_insert_post’ calls can be performed in one shot, in a very long ‘for’ loop?
I’m working on a plugin which has bulk post inserts using a spreadsheet. This spreadsheet can have multiple thousand rows, each row corresponding to a post. I’m parsing this spreadsheet, looping over the parsed data and using wp_insert_post to insert the posts. I noticed that when I used a spreadsheet with around 2000 entries, only … Read more