wpDiscuz 7 API Documentation

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


This hook can be used for doing minification of the CSS in the header or not


Added in version 7.0.3


1. $minify (type: bool) – if the CSS in the header should be minified or not


 add_filter("wpdiscuz_minify_inline_css", function ($minify) {
    return false;

Was this article helpful to you? Yes No