How to fetch all images from a WordPress draft using PHP?

Question

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?

0
Nirvana Guha 2 months 2021-05-28T21:46:03-05:00 0 Answers 0 views 0

Leave an answer

Browse
Browse