Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Much is made of the WordPress function wp_get_attachment_image_src() which returns an array of data for an attachment image.
- But dealing with the array is not alway welcome.
- wp_get_attachment_image_url() is your friend here as it returns the URL of the attachment at the desired size.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement