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

(string) 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

This site uses Akismet to reduce spam. Learn how your comment data is processed.