Summery Summery
Returns the URL to the directory of a theme’s “template” files.
Syntax Syntax
Description Description
In the case of a child theme, this is the URL to the directory of the parent theme’s files.
Return Return
(string) URL to the template directory.
Source Source
File: wp-includes/class-wp-theme.php
} return $theme_root_uri . '/' . str_replace( '%2F', '/', rawurlencode( $this->template ) ); } /** * The absolute path to the directory of the theme root. * * This is typically the absolute path to wp-content/themes.
Advertisement
Changelog Changelog
Version | Description |
---|---|
3.4.0 | Introduced. |