WordPress at Your Fingertips
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_2053' );
function filter_function_name_2053( $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 104
$template = apply_filters( 'template_include', $template );

Where in WP core the hook is used WordPress

Usage not found.