WordPress at a glance
filter is not described

template_include filter-hook . WP 3.0.0

Filters the path of the current template before including it.


add_filter( 'template_include', 'filter_function_name_2580' );
function filter_function_name_2580( $template ){
	// filter...

	return $template;
The path of the template to include.


Since 3.0.0 Introduced.

Where the hook is called

In file: /wp-includes/template-loader.php
wp-includes/template-loader.php 77
if ( $template = apply_filters( 'template_include', $template ) ) {

Where the hook is used (in WP core)

Usage not found!