Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- $link = get_bloginfo('url')."?attachment_id=".$attach_id;
- how to get this to pull "File URL" as the "$link" instead of the attachment url?
- This is because when image is uploaded it calls to echo "$link"... Instead of displaying the file's (image) attachment page url, I want it to display the actual URL to the direct file (photo's url)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement