Select the MediaShort URL using wp_get_attachment_image_src
-
Hello,
I would like to use the MediaShort URL in a custom page type. I am currently using the wp_get_attachment_image_src function to get an image and then writing its URL to the screen using
<?php echo $image[0]; ?>
. How might I grab the newly shortened URL?Thanks,
Eric Owsley
- The topic ‘Select the MediaShort URL using wp_get_attachment_image_src’ is closed to new replies.