Return image or image path of image stored in Settings
-
Hi guys,
I know how to return text stored in Settings by using:
<?php echo get_option( 'settings_name_value' ); ?>
However, when i use the same to return an image I get an error. When I do a var_dump of the value I wish to return it give me:
array(1) { [0]=> int(113) }
Does anyone know how I can return the image path?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Return image or image path of image stored in Settings’ is closed to new replies.