Changes between Initial Version and Version 1 of Ticket #32117, comment 7
- Timestamp:
- 08/14/2017 01:15:29 PM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #32117, comment 7
initial v1 1 This problem is actually a little bit annoying ;) Seems the only native function for getting an attachment object by ID is `wp_get_attachment_metadata()` but it doesn't actually return includea path. I could very much be mistaken and of course the way it is may be on purpose.1 This problem is actually a little bit annoying ;) Seems the only native function for getting an attachment object by ID is `wp_get_attachment_metadata()` but it doesn't actually return a path. I could very much be mistaken and of course the way it is may be on purpose. 2 2 3 3 I got around the problem by doing the following.