Title: Filter for adding other caching plugins
Last modified: July 5, 2023

---

# Filter for adding other caching plugins

 *  Resolved [Alexandru Negoita](https://wordpress.org/support/users/kulsite/)
 * (@kulsite)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/filter-for-adding-other-caching-plugins/)
 * Hey all,
   this is a very good plugin. Thank you for it!Is there a way to add a
   filter or a quick solution, to extend the caching/nocaching system/class?I see
   you added some caching options in class-caching.php, which is then called woocommerce-
   sea.php when creating the feeds.However, I, for example, am on a different caching
   system, made by SpinupWP and I couldn’t find any way of extending the caching
   system to also take into consideration the SpinupWP caching plugin.

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

 *  [supportadtribes](https://wordpress.org/support/users/supportadtribes/)
 * (@supportadtribes)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/filter-for-adding-other-caching-plugins/#post-16870677)
 * Hi,
 * Thanks for using our plugin and reaching out to us.
 * Unfortunately adding a filter or quick solution is not an option as every caching
   plugin has its own unique instructions on disabling its caching features for 
   our product feeds.
 * We will add your request, to support SpinupWP caching, to our user-request list.
   When we get a few more unique requests from users we will consider adding support
   for it.
 *  Thread Starter [Alexandru Negoita](https://wordpress.org/support/users/kulsite/)
 * (@kulsite)
 * [2 years, 11 months ago](https://wordpress.org/support/topic/filter-for-adding-other-caching-plugins/#post-16870924)
 * Thank you for your fast reply! It really means allot to me.
   I thought at first
   to fork the plugin and keep it as such in the project. However, there is some
   flexibility left and I could actually extend the class-caching.php into the theme’s
   functions.php file.First, I had to create a new class which extends the WooSEA_Caching
   class and add a function to clear SpinupWP object cache, which is actually using
   the wp_cache object … so it was just a “wp_cache_flush”.Just for being safe, 
   I also added the “spinupwp()->cache->purge_page_cache()” , after checking if 
   spinupwp function exists. But, I don’t think is needed.I called the newly created
   class in functions.php where I had overriten you two functions which deals with
   the caching:woosea_project_refresh and woosea_create_all_feedsusing the proper
   actions for it.In the new functions I replaced your caching class with the one
   that I created and extends yours.Of course, this should be just a patch, until
   your team updates the plugin, taking into consideration the SpinupWP caching 
   plugin.I hope this will be helpful, as it might reduce the development time.

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

The topic ‘Filter for adding other caching plugins’ is closed to new replies.

 * ![](https://ps.w.org/woo-product-feed-pro/assets/icon-256x256.png?rev=3111496)
 * [Product Feed PRO for WooCommerce by AdTribes – Product Feeds for WooCommerce](https://wordpress.org/plugins/woo-product-feed-pro/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woo-product-feed-pro/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woo-product-feed-pro/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-product-feed-pro/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-product-feed-pro/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-product-feed-pro/reviews/)

## Tags

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

 * 2 replies
 * 2 participants
 * Last reply from: [Alexandru Negoita](https://wordpress.org/support/users/kulsite/)
 * Last activity: [2 years, 11 months ago](https://wordpress.org/support/topic/filter-for-adding-other-caching-plugins/#post-16870924)
 * Status: resolved