apply_filters( 'template_include', string $template )

Filters the path of the current template before including it.


Parameters

$template

The path of the template to include.


Source

File: wp-includes/template-loader.php

View on GitHub


Changelog

Changelog
Version Description
WP-3.0.0 Introduced.