This hook can be used for doing some action when the plugin is being updated.
Changelog
since 7.0.0 version
Usage
add_action("wpdiscuz_check_version", function () {
$pluginData = get_plugin_data(__FILE__);
if (version_compare($pluginData["Version"], $this->version, ">")) {
$this->custom_actions();
}
});