This filter can be used to change the path of the walker. This hook works if there is no customized walker file in the active theme’s folder.
Parameters
$path (type: string) – the full path of the walker that should be loaded
Usage
add_filter("wpdiscuz_walker_include", function ($path) {
return "FULL_PATH_TO_FILE";
}, 10, 3);
Changelog
since 7.0.0 version
