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

wpdiscuz_delete_all_content

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.

Changelog

since 7.0.0 version

Parameters

$seconds – the expiration time in seconds

Usage

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

Was this article helpful to you? Yes No