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

wpdiscuz_settings

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.

Changelog

Since 7.0.0 version

Parameters

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

Usage

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

Was this article helpful to you? Yes No