wpDiscuz 7 API Documentation

  1. Home
  2. Docs
  3. wpDiscuz 7 API Documentation
  4. Filters
  5. wpdiscuz_manage_all_cache_clearing
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors


This filter can be used for choosing if the wpDiscuz cache cleaning functions should work or not in wpdiscuz update.


Added in version 7.0.3


1. $clear (type: bool) – if the wpDiscuz functions for cache cleaning should work or not.


add_filter("wpdiscuz_manage_all_cache_clearing", function ($clear) {
    return false;

Was this article helpful to you? Yes No