Title: Adding more hooks
Last modified: June 22, 2017

---

# Adding more hooks

 *  Resolved [Gulshan Kumar](https://wordpress.org/support/users/thegulshankumar/)
 * (@thegulshankumar)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/adding-more-hooks/)
 * Hi,
 * Can you please suggest me an easy way, how I integrate some more hooks for triggering
   purge cache by URLs. I don’t want to purge full cache, as its result to loss.
 * I have seen that this plugin miss purging cache in many cases (Mentioned below),
   so I want to add compatibility to it.
 * For example, when we
    * deactivate/activate any plugin: * drag/update/save widget*
   any settings updated
 * – purge all page cache by URLs
    – don’t purge any static files, as it is really
   precious.
 * Why? If cache will not be purged properly then some will get HIT and MISS response,
   which will create confusion and bad experience.
 * Thanks & Regards,
    Gulshan

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

 *  [thellimist](https://wordpress.org/support/users/furkan811/)
 * (@furkan811)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/adding-more-hooks/#post-9251548)
 * Hi [@thegulshankumar](https://wordpress.org/support/users/thegulshankumar/)
 * Our [code](https://github.com/cloudflare/CloudFlare-wordpress) is open sourced.
   We’ve had multiple pull requests by users improving with Automatic Cache Purge
   functionality.
 * Please open a Github issue and I can help you solving your problem.
 * Thanks
 *  [jwineman](https://wordpress.org/support/users/jwineman/)
 * (@jwineman)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/adding-more-hooks/#post-9274341)
 * Resolved.

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

The topic ‘Adding more hooks’ is closed to new replies.

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

 * 2 replies
 * 3 participants
 * Last reply from: [jwineman](https://wordpress.org/support/users/jwineman/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/adding-more-hooks/#post-9274341)
 * Status: resolved