In a recent custom WordPress development project, we needed a small function to get all the images within posts/pages. Not only uploaded and attached images but also the ones coming from external URL’s as well. Below is the function to grab the images and the shortcode to print the images [...]