apply_filters( 'template_directory', string $template_dir, string $template, string $theme_root )

Filters the current theme directory path.


Description Description


Parameters Parameters

$template_dir

(string) The URI of the current theme directory.

$template

(string) Directory name of the current theme.

$theme_root

(string) Absolute path to the themes directory.


Top ↑

Source Source

File: wp-includes/theme.php

View on Trac


Top ↑

Changelog Changelog

Changelog
Version Description
1.5.0 Introduced.


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.