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

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

Was this article helpful to you? Yes No