This filter can be used to check whether wpDiscuz should load.
Changelog
Aadded starting from 7.0.0 version.
Parameters
1. $load (type: bool) - determines whether wpDiscuz should be added to the current page.
2. $post (type: WP_Post object) - the object of the current post
2. $post (type: WP_Post object) - the object of the current post
Usage
add_filter("is_load_wpdiscuz", function ($load, $post) {
return $load || is_archive();
}, 10, 2);