wp_insert_post() does not inject the created post to send queue
-
Our wordpress site uses the wp_insert_post() function to create automated posts from time to time. We also have a form, that uses this function to convert submitted formdata to a post. However, use of this function does not add the post to the sendqueue. It remains with zero entries to send at next execution time. Publishing new posts via e.g. Classic Editor works as expected.
Is there anything to run or do after wp_insert_post() to add the new created post to the queue?
Thank you for your help.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘wp_insert_post() does not inject the created post to send queue’ is closed to new replies.