Home » Docs » Hooks » Filters » Class: Conductor » conductor_template_path

Description

This filter is used to change the template path (directory) where Conductor will look for Conductor template files in the active theme (i.e. /example-theme/conductor/).

This filter is executed when the Conductor::theme_template_path() function is called.

Technical Details

  • Type: Filter
  • Parameters:
    • $template_path (string): Template path (directory) inside of the active theme for where Conductor should look for templates
  • Return Value: string, Defaults to 'conductor'

Resources

Examples

The following example changes the Conductor theme template path to conductor-templates.