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 … Read more
I’m working on a plugin which has bulk post inserts using a spreadsheet. This spreadsheet can have multiple thousand rows, each row corresponding … Read more
This question already has answers here: Inserting terms in an Hierarchical Taxonomy (7 answers) Closed 8 years ago. I am inserting an array … Read more
I’m about to create parser which would be inserting new custom posts. So, it’s pretty simple global $user_ID; $new_post = array( ‘post_title’ => … Read more
I am working on a wordpress plugin where a save lead data by forms in my website. When a user submits the form … Read more
I’m using this code: $post = array( ‘post_content’ => $desc, ‘post_title’ => $name_new, ‘post_status’ => ‘publish’, ‘post_type’ => ‘portfolio_page’, ‘tax_input’ => array(‘portfolio_category’ => … Read more
I’m running a cron every 5:th minute that inserts a lot of posts. Sometimes it happens that those crons are running both at … Read more
I would need to apply some sort of encryption on whatever gets inserted in the wp_post > post_content, so I was wondering if … Read more
I’ve written a plugin which retrieves an xml file, parses and creates a series of short posts from the content. Although each post … Read more
I have a project in which I create an array of 200k+ lines w/ 25 fields that run the wp_insert_post and update_post_meta. To … Read more
Im having a hard time on fixing this issue of mine. I have a plugin where it creates 6 pages at default for … Read more