wpDiscuz 7 API Documentation

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

wpdiscuz_enable_user_mentioning

This filter can be used for enabling or disabling the user mentioning.

Changelog

Since 7.0.0 version

Parameters

$enable (type: bool) – either enable or disable the user mentioning

Usage

add_filter("wpdiscuz_enable_user_mentioning", function ($enable) {
    return false;
});

Was this article helpful to you? Yes No