template_include

Advertisement

Summery Summery

Filters the path of the current template before including it.

Syntax Syntax

apply_filters( 'template_include', string $template )

Parameters Parameters

$template

The path of the template to include.

Source Source

File: wp-includes/template-loader.php

Advertisement

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Advertisement

Leave a Reply