Function wc_locate_template
Locate a template and return the path for inclusion.
This is the load order:
yourtheme / $template_path / $template_name yourtheme / $template_name
$default_path / $template_name
Parameters summary
string |
$template_name |
|
string |
$template_path = '' |
(default: '') |
string |
$default_path = '' |
(default: '') |
Return value summary
string
|