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

Filters the current theme directory path.


Parameters

$template_dir

The URI of the current theme directory.

$template

Directory name of the current theme.

$theme_root

Absolute path to the themes directory.


Source

File: wp-includes/theme.php

View on GitHub



Changelog

Changelog
Version Description
WP-1.5.0 Introduced.