This filter can be used to identify the admin pages where wpDiscuz should be loaded.This filter can be used to get the admin pages where the wpDiscuz should be loaded.
Changelog
Aadded starting from 7.0.0 version
Parameters
$pages (type: array) – an array of slugs for the wpDiscuz pages in the Dashboard.
Usage
add_filter("wpdiscuz_admin_pages", function ($pages) { $pages[] = "custom"; return $pages; });