Home › Forums › General Issues › Set Featured Image from the URL in the text field ACF › Reply To: Set Featured Image from the URL in the text field ACF
A featured image in WP is set by setting the meta_key ‘_thumbnail_id’ in for the post to the ID of an image in the media folder. There is not a way to set the featured image using a URL it the image is not imported into media.
It might be possible to add filters to all of the WP functions the get and/or display the featured image to replace the URL in some places. If this can be done would depend on what the theme is using to display the featured image and adding filters to your functions.php file to modify the return for those functions.
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!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.