
$template_dir - Smarty
$template_dir This is the name of the default template directory. If you do not supply a resource type when including files, they will be found here.
get_template_directory() – Function | Developer.WordPress.org
get_template_directory (): string In this article Retrieves template directory path for the active theme. Return string Path to active theme’s template directory. More Information Usage wp …
Template resources - Smarty Documentation
The first template found is the one to process. Templates from a specific directory Smarty 3.1 introduced the bracket-syntax for specifying an element from Smarty::setTemplateDir(). This …
Smarty 3 Manual | Smarty
Prefilters/Postfilters Output Filters Resources Inserts 19. SmartyBC - Backwards Compatibility Wrapper SmartyBC class IV. Appendixes 20. Troubleshooting Smarty/PHP errors 21. Tips & …
\$template_dir {#variable.template.dir} - Smarty Documentation
It is not recommended to put this directory under the web server document root. Note As of Smarty 3.1 the attribute \$template_dir is no longer accessible directly.
template_directory – Hook | Developer.WordPress.org
Filters the active theme directory path.apply_filters ( ‘template_directory’, string $template_dir, string $template, string $theme_root )
getTemplateDir () | Smarty
getTemplateDir ()<?php // set some template directories $smarty->setTemplateDir(array( 'one' => './templates', 'two' => './templates_2', 'three' => './templates_3 ...
Resources - Smarty
The templates may come from a variety of sources. When you display() or fetch() a template, or when you include a template from within another template, you supply a resource type, …