Archives

Tutorials

How to set Image Field as Featured Image

In order to automatically set an Image field as featured thumbnail for a post, we will have to use acf/update_value. Image fields create new attachments upon upload and store the attachment_id in the field value. This behavior is very close the WordPress one.