How to set an Image via Custom Code?

Question

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.
enter image description here

0
Ricardo Häringer 1 month 2022-10-18T07:27:59-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse