Where is this php string defined? <?php cp_get_image_url(); ?>
I'm looking to write a php string that grabs the url of the ad image but without returning it in a format that displays the image & embeded link.
For example, this:
<?php cp_get_image_url(); ?>
returns the html as this :
<a href="some-image/188560-500x373.jpg" class="img-main" data-rel="colorbox"><img src="the-same-image//188560-200x150.jpg" title="test 3" alt="test 3" /></a>
My goal is to just grab the url and not the html formatting. Do I need to redefine <?php cp_get_image_url(); ?> or can I write a new string? I fully understand html/css but am now just beginning to learn php so any help is greatly appreciated!