Description
This filter is used to change the core (main) Conductor template file.
This filter is executed when the Conductor_Template_Loader::template_include()
function is called via the template_include
filter.
Technical Details
Type: Filter
Parameters:
$template (string): Core Conductor template file location
$templates (array): Reference to all templates locations checked
$original_template (string): Original requested template for current piece of content
REturn Value: string
Resources
- View on GitHub
Conductor::is_conductor()
Conductor_Template_Loader::template_include()
Conductor::get_conductor_content_layout()
Examples
The following example demonstrates how to use the current Conductor content layout properties to load a custom Conductor template.