[Resolved] Add some meta data to post inserted using wp_insert_post function
I’m using wp_insert_post function to insert new post but I need to add some meta data to each post as soon as it’s inserted. How can I do that? Should I retrieve the most recent post id ofter the post is inserted and use the id or there is some simpler method?
- The topic ‘[Resolved] Add some meta data to post inserted using wp_insert_post function’ is closed to new replies.