WordPress.org

Support

Support » Plugins and Hacks » Enable Media Replace » Amendment to my update (CloudFlare)

Amendment to my update (CloudFlare)

  • Hi Måns,

    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:

    do_action(“enable-media-replace-upload-done”, $_POST[“ID”]);

    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.

    Thanks!
    Shaun (Rubious)

    http://wordpress.org/plugins/enable-media-replace/

  • The topic ‘Amendment to my update (CloudFlare)’ is closed to new replies.
Skip to toolbar