Purging cache on update
-
Hello,
I was wondering if there is a way to trigger cache purging programmatically.
The issue we’re running into is that cache purges when a page is updated, but not when something like a general options page is updated. So I’d like to write our own hooks than then call the Cloudflare plugin’s cache purge — rather than recreating an API call, storing credentials separately, etc.
I searched through the plugin for something like save_post to see how you currently call the cache purge, but so far am coming up empty. Do you happen to have an example or can you point me in the right direction?
Thanks,
Tim
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
You must be logged in to reply to this topic.