wpDiscuz 7 API Documentation

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

wpdiscuz_enable_content_modal

This filter can be used for enabling or disabling the “My Content and Settings” button when the default tabs are disabled.

Changelog

Since 7.0.0 version

Parameters

$enable (type: bool) – either enable or disable the “My Content and Settings” button when the default tabs are disabled

Usage

add_filter("wpdiscuz_enable_content_modal", function ($enable) {
    return true;
});

Was this article helpful to you? Yes No