wpDiscuz 7 API Documentation

  1. Home
  2. Docs
  3. wpDiscuz 7 API Documentation
  4. Filters
  5. wpdiscuz_walker_include
Generic selectors
Exact matches only
Search in title
Search in content
Post Type Selectors


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.


since 7.0.0 version


$path (type: string) – the full path of the walker that should be loaded


add_filter("wpdiscuz_walker_include", function ($path) {
    return "FULL_PATH_TO_FILE";
}, 10, 3);

Was this article helpful to you? Yes No