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: FilterParameters:$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
- View on GitHub
conductor_get_template_part()Conductor_Template_Loader::template_include()Conductor::get_conductor_content_layout()- Guide: Conductor Content Layouts
Examples
The following example changes the Conductor theme template path to conductor-templates.