How to fetch all images from a WordPress draft using PHP?
I’m trying to fetch and download all the images from a new Gutenberg draft. It’s really slow having to download each image for web optimization. So, I’m trying to create a plugin that automatically fetches all the images. Any ideas on how I can do that?