wpDiscuz 7 API Documentation

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


This hook can be used for enabling or disabling the export when the form doesn’t contain any fields.


Since 7.0.0 version


$enable (type: bool) – enable the export or not when the form doesn’t contain any fields


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

Was this article helpful to you? Yes No