wpDiscuz 7 API Documentation

⌘K
  1. Home
  2. Docs
  3. wpDiscuz 7 API Documentat...
  4. Filters
  5. wpdiscuz_walker_include

wpdiscuz_walker_include

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.

Changelog

since 7.0.0 version

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);