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

Package: WooCommerce\Functions
Author: WooThemes
Located at includes/wc-core-functions.php

Parameters summary

string $template_name
string $template_path = '' (default: '')
string $default_path = '' (default: '')

Return value summary

string
WooCommerce API documentation generated by ApiGen 2.8.0