wpDiscuz 7 API Documentation

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


This filter can be used for the following action in the admin page:

  1. adding new options,
  2. deleting the existing options,
  3. adding new tabs.


Since 7.0.0 version


$settings (type: array) – the array of the admin settings


add_filter("wpdiscuz_settings", function ($settings) {
    $settings["core"][WpdiscuzCore::TAB_GENERAL]["title"] = "General";
    return $settings;

Was this article helpful to you? Yes No