Do you want to edit the themes template files? or do you want to do this by adding a filter that alters what’s being output by your template files? What function is being used to display the featured image in search?
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users