Title: Cached cleared hook
Last modified: March 24, 2025

---

# Cached cleared hook

 *  Resolved [dooza](https://wordpress.org/support/users/dooza/)
 * (@dooza)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/cached-cleared-hook/)
 * Is there a hook in Breeze that I can use to trigger a function whenever the cache
   is cleared? This needs to be a manual cache cleared or the automatic one.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [owaisalam](https://wordpress.org/support/users/owaisalam/)
 * (@owaisalam)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/cached-cleared-hook/#post-18380935)
 * Breeze provides action hook to clear all cached data across its caching system.
   This can be useful when you need to programmatically trigger a full cache purge.
 * `do_action('breeze_clear_all_cache');`
 *  Thread Starter [dooza](https://wordpress.org/support/users/dooza/)
 * (@dooza)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/cached-cleared-hook/#post-18381026)
 * Can I use this to do call another function when that action is triggered? For
   instance, I am using the Cloudflare plugin which has to be manually purged after
   the Breeze cache has been purged, so I want to trigger the Cloudflare purge when
   the Breeze cache is purged. Does this make sense?
 *  Plugin Author [owaisalam](https://wordpress.org/support/users/owaisalam/)
 * (@owaisalam)
 * [1 year, 2 months ago](https://wordpress.org/support/topic/cached-cleared-hook/#post-18382796)
 * You may try it, but the other function must have the same parameters as the argument
   used by the hook in Breeze.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Cached cleared hook’ is closed to new replies.

 * ![](https://ps.w.org/breeze/assets/icon-256x256.gif?rev=3352595)
 * [Breeze Cache](https://wordpress.org/plugins/breeze/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/breeze/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/breeze/)
 * [Active Topics](https://wordpress.org/support/plugin/breeze/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/breeze/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/breeze/reviews/)

## Tags

 * [hook](https://wordpress.org/support/topic-tag/hook/)

 * 3 replies
 * 2 participants
 * Last reply from: [owaisalam](https://wordpress.org/support/users/owaisalam/)
 * Last activity: [1 year, 2 months ago](https://wordpress.org/support/topic/cached-cleared-hook/#post-18382796)
 * Status: resolved