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.
Source Source
File: wp-includes/theme.php
Changelog Changelog
Version | Description |
---|---|
1.5.0 | Introduced. |