Title: Purge All Hook
Last modified: February 19, 2021

---

# Purge All Hook

 *  Resolved [Jim](https://wordpress.org/support/users/cognique_jim/)
 * (@cognique_jim)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/purge-all-hook/)
 * Does the plugin offer any hooks that I can use to detect if the user has run 
   the Purge All pages option from within the admin tool bar? I would like to run
   a function from within my theme if this has been selected? I can see some actions
   I can use to actually run the purge option, but not to detect if it has been 
   run. Many thanks for your help.

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

 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/purge-all-hook/#post-14079387)
 * Hi,
 * It does not come with “hook” for this purpose
 * but if your goal is to detect/record purge all action , then you can enable advanced
   debug log to ALL , then it will log out all purge action into `/wp-content/debug.
   purge.log`
 * Best regards,
 *  Plugin Support [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * (@qtwrk)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/purge-all-hook/#post-14114106)
 * Hi,
 * I’m going to mark this topic “Resolved”, due to lack of activity.
 * If you still need help, please feel free to re-open it.
 * When re-open it, please also change the topic status to “not solved”
 * Best regards,

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

The topic ‘Purge All Hook’ is closed to new replies.

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

 * 2 replies
 * 2 participants
 * Last reply from: [qtwrk](https://wordpress.org/support/users/qtwrk/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/purge-all-hook/#post-14114106)
 * Status: resolved