Filter hook 'template_include'

in WP Core File wp-includes/template-loader.php at line 104

Description

Filters the path of the current template before including it.

Occurrences

Filename Line Number
wp-includes/template-loader.php 104

Parameters

Type Name Description
string $template The path of the template to include.

PHP Doc

/**
	 * Filters the path of the current template before including it.
	 *
	 * @since 3.0.0
	 *
	 * @param string $template The path of the template to include.
	 */