Advanced Custom Fields Set Image Field as Post Featured Image
Are you trying to set the image field as a post featured image on your WordPress website? Then here we have a simple solution to do that. To set the image field as featured thumbnail for your post you need to use acf/save_post.
Use the below function in your WordPressfunctions.php file. This function will help you to save the image field as a post featured image with the help of ACFimage field name and _thumbnail_id.
Note: You need to replace post_image to which you create an image field name in the above function
I hope this article will help you to set the image field as a featured image on your WordPress website. If you have any doubts about this topic let me know in the comment section and if you love this article share it with your friends.
Creative Designer & Developer specialist by the spirit and a loving blogger by thoughts. If you have any questions let me drop an email with the article name to the following email id: firstname.lastname@example.org