WPDev.one
Core Function
View Source on Trac ↗

get_template_directory()

get_template_directory( )

Retrieves template directory path for the active theme.

Return Value

(string)
Path to active theme's template directory.

Function Information

Since Version
1.5.0
Source File
wp-includes/theme.php
Advertisement