You very kindly added a hook for me so that I could use a custom CloudFlare purge function, however the hook you added only gives the GUID of the main image, I’ve found it can be improved if it is replaced with this:
So I get the ID of the attachment, I can then use that to get all the sizes and purge them all.
Could you please make this change in your plugin? Otherwise each time it updates I have to edit it again.
- The topic ‘Amendment to my update (CloudFlare)’ is closed to new replies.