Title: Add hook for is_cacheable()
Last modified: January 17, 2021

---

# Add hook for is_cacheable()

 *  [checkmarkhosting](https://wordpress.org/support/users/checkmarkhosting/)
 * (@checkmarkhosting)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/add-hook-for-is_cacheable/)
 * I am a big fan of thise cache enabler plugin. I believe it is the cleanest solution
   available for WordPress. I love what you’ve done in version 1.6.0 with hooks.
   I am submitting an enhancement request to provide a hook for the is_cacheable()
   function.
 * The user function would be called just like the private is_cacheable() function–
   passed the page contents. It would return true/false where false would cancel
   the caching of the page.
 * This would help me immensely with a problem I have with the Avada theme.

Viewing 1 replies (of 1 total)

 *  Anonymous User 16850768
 * (@anonymized-16850768)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/add-hook-for-is_cacheable/#post-13924927)
 * I’m really happy to hear that! If you haven’t already and are able, leaving a
   [review](https://wordpress.org/support/plugin/cache-enabler/reviews/) is always
   appreciated.
 * Thank you for your enhancement request! To ensure I understand your request, 
   are you wanting the ability to parse the page contents in order to determine 
   whether or not those page contents are cacheable according to your own specifications?
 * In case there is a different approach, it would also be helpful if you could 
   give an example of what you’re looking for in the page contents that would not
   make a page cacheable.

Viewing 1 replies (of 1 total)

The topic ‘Add hook for is_cacheable()’ is closed to new replies.

 * ![](https://ps.w.org/cache-enabler/assets/icon.svg?rev=2442383)
 * [Cache Enabler](https://wordpress.org/plugins/cache-enabler/)
 * [Support Threads](https://wordpress.org/support/plugin/cache-enabler/)
 * [Active Topics](https://wordpress.org/support/plugin/cache-enabler/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cache-enabler/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cache-enabler/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: Anonymous User 16850768
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/add-hook-for-is_cacheable/#post-13924927)
 * Status: not resolved