template_name

template_name — returns the dirname of the current template

Summary

template_name();

Usage

//get the current template directory name
$template_name = template_name();
print($template_name);

//prints my_template
The documentation is under development. Help us by editing this page.