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

wpdiscuz_minify_inline_css

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

Changelog

Added in version 7.0.3

Parameters

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

Usage

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

Was this article helpful to you? Yes No