wpDiscuz 7 API Documentation

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

wpdiscuz_dynamic_css

This action can be used to insert the dynamic CSS in the header.

Changelog

since 7.0.0 version

Parameters

$options (type: WpdiscuzOptions object) – the options of the wpDiscuz plugin

Usage

add_action("wpdiscuz_dynamic_css", function ($options) {
    echo "CUSTOM_STYLE";
});

Was this article helpful to you? Yes No