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
Search in posts
Search in pages

wpdiscuz_manage_all_cache_clearing

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

Changelog

Added in version 7.0.3

Parameters

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

Usage

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

Was this article helpful to you? Yes No