wpDiscuz 7 API Documentation

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


This filter can be used to change the expiration time of the verification key they get via email with bulk delete or unsubscribe links. The users get the key when they click on the “Bulk management via email” link in “My Content and Settings” popup.


since 7.0.0 version


$seconds – the expiration time in seconds


add_filter("wpdiscuz_delete_all_content", function ($seconds) {
    return DAY_IN_SECONDS;

Was this article helpful to you? Yes No