This filter can be used for detecting if the wpDiscuz should be loaded or not.
Changelog
since 7.0.0 version
Parameters
1. $load (type: bool) – if the wpDiscuz should be added to the current page or not
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);