Summery Summery
Returns the absolute path to the directory of a theme’s “template” files.
Syntax Syntax
Description Description
In the case of a child theme, this is the absolute path to the directory of the parent theme’s files.
Return Return
(string) Absolute path of the template directory.
Source Source
File: wp-includes/class-wp-theme.php
} return $theme_root . '/' . $this->template; } /** * Returns the URL to the directory of a theme's "stylesheet" files. * * In the case of a child theme, this is the URL to the directory of the
Advertisement
Changelog Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |