Title: Purging individual product category cache programatically
Last modified: August 24, 2026

---

# Purging individual product category cache programatically

 *  [rudolfl](https://wordpress.org/support/users/rudolfl/)
 * (@rudolfl)
 * [1 week, 4 days ago](https://wordpress.org/support/topic/purging-individual-product-category-cache-programatically/)
 * Hi
 * Need an advice — I want to programmatically clear individual product category
   page. When I say “individual”, I mean individual product category. It may have
   multiple pages as there are many produce per category. I will need cache of all
   of the pages of said category purged. Ideally, also clear corresponding entries
   in CloudFlare and object cache. Is there a documentation on the hooks I can possibly
   use?
 * Thank you
 * Rudolf

Viewing 1 replies (of 1 total)

 *  [asfly](https://wordpress.org/support/users/asfly/)
 * (@asfly)
 * [1 week, 4 days ago](https://wordpress.org/support/topic/purging-individual-product-category-cache-programatically/#post-19001317)
 * You can check: [https://docs.litespeedtech.com/lscache/lscwp/api/](https://docs.litespeedtech.com/lscache/lscwp/api/)
   or [https://docs.litespeedtech.com/lscache/lscwp/api/#hook-action-for-purge-category](https://docs.litespeedtech.com/lscache/lscwp/api/#hook-action-for-purge-category)
   
   You can also review: [https://docs.litespeedtech.com/lscache/lscwp/cache/#purge-all-hooks](https://docs.litespeedtech.com/lscache/lscwp/cache/#purge-all-hooks)

Viewing 1 replies (of 1 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fpurging-individual-product-category-cache-programatically%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](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/)

 * 1 reply
 * 2 participants
 * Last reply from: [asfly](https://wordpress.org/support/users/asfly/)
 * Last activity: [1 week, 4 days ago](https://wordpress.org/support/topic/purging-individual-product-category-cache-programatically/#post-19001317)
 * Status: not resolved