I am trying to attach an image to a post using the update_post with cURL. I am creating the File Field and setting the path to the file, however the attachment is not being uploaded or attached to the post i.e. I am not seeing any additional post of type=attachment being created in the database.
Is anyone using the update_post function to attach images to posts?
Viewing 1 replies (of 1 total)
The topic ‘Add post attachments using CURL’ is closed to new replies.