wpDiscuz 7 API Documentation

  1. Home
  2. Docs
  3. wpDiscuz 7 API Documentation
  4. Actions
  5. wpdiscuz_remove_vote_data
Generic selectors
Exact matches only
Search in title
Search in content

wpdiscuz_remove_vote_data

This action works after removing the votes when the “Remove Vote Data” button is clicked. The button is located Dashboard > wpDiscuz > Settings > General Settings tab.

Changelog

since 7.2.0 version

Usage

add_action("wpdiscuz_remove_vote_data", function () {
    if (function_exists("my_custom_function")) {
        my_custom_function();
    }
});

Was this article helpful to you? Yes No