How can I replace wp_get_attachment_image() function without changing the core files. The function doesnt have an action hook or a filter hook.
What I am trying to achieve:
for lazyload plugin output the image html like this:
<img width="150" height="150" data-src="https://localhost/yxz/wp-content/uploads/2010/06/calliope.slide_-150x150.jpg" class="attachment-thumbnail" alt="calliope.slide" src="https://localhost/yxz/wp-content/uploads/blank.png">
instead of this:
<img width="150" height="150" src="https://localhost/yxz/wp-content/uploads/2010/06/calliope.slide_-150x150.jpg" class="attachment-thumbnail" alt="calliope.slide">