Home » Docs » Hooks » Filters » Class: Conductor_Template_Loader » conductor_template_include

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

Examples

The following example demonstrates how to use the current Conductor content layout properties to load a custom Conductor template.