How to set an Image via Custom Code?
is it possible to set an Image via functions.php? Im using Elementor and i do have an image which should be dynamic. Since its a very complex logic i did it in my functions.php but i cannot find any info what i need to return in my functions.php that it is working. I already tryed with ID and also with the Image URL but nothing worked. Please check the attached screenshot to understand where i need to set my image.