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

wpdiscuz_do_export_personal_data

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

Changelog

Since 7.0.0 version

Parameters

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

Usage

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

Was this article helpful to you? Yes No