It seems the issue is that this doesn’t work if I set the flag in the field group to use the image as the featured image. I can’t therefore quite achieve what I need which is:-
1. If no image has been added to the custom post then populate the ACF Field and the featured image with the default image.
2. If an image is uploaded to the custom post then populate the ACF field and the featured image with the uploaded image.
The second part works by just configuring the image field to use the uploaded image as the featured image but then requirement 1 doesn’t work.
Any pointers would be great.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
© 2022 Advanced Custom Fields.