Closed jmarceli closed 7 years ago
Hey @jmarceli the idea is to keep this functionality separate from the main WordPress functionality, so that both can be used in parallel. I want to keep this plugin really simple and similar to the core functions and their output.
Maybe it is not so bad idea to make
fly_get_attachment_image_src
"backward" compatible withwp_get_attachment_image_src
. What I mean is adding to the outputed array keys similar to that available in Wordpress core function. So the output offly_get_attachment_image_src
would be for example:With this modification conversion from traditional
wp_get_attachment_image_src
tofly_get_attachment_image_src
(for an existing theme) would be much easier. Do you see any drawbacks?I would be happy to make a PR.