I am inserting post from frontend. My post is not properly published because it is not showing on single. Acf values are showing blank. Admin have to update post then it will show. Please help me out. Thanks
Hi @chandni,
Sorry for the delayed response. Please ensure that you are using the correct elements for your wp_insert_post() function. For instance the following elements should be defined as follows:
‘post_id’ => ‘new_post’,
‘post_status’ => ‘publish’