wpDiscuz 7 API Documentation

  1. Home
  2. Docs
  3. wpDiscuz 7 API Documentation
  4. Actions
  5. wpdiscuz_settings_tab_after
Generic selectors
Exact matches only
Search in title
Search in content
Search in posts
Search in pages

wpdiscuz_settings_tab_after

This action can be used to display an HTML on the loaded tab after all options.

Changelog

since 7.0.0 version

Parameters

1. $tab (type: string) – the slug of the tab that is currently loaded
2. $setting (type: array) – the array of the settings of the active (loaded) tab

Usage

add_action("wpdiscuz_settings_tab_after", function ($tab, $setting) {
    if ($tab === WpdiscuzCore::TAB_GENERAL) {
        echo "

Custom Message

"; } }, 10, 2);

Was this article helpful to you? Yes No