WooCommerce::template_path
Get the template path.
Method of the class: WooCommerce{}
Hooks from the method
Returns
String.
Usage
$WooCommerce = new WooCommerce(); $WooCommerce->template_path();
WooCommerce::template_path() WooCommerce::template path code WC 10.7.0
public function template_path() {
/**
* Filter to adjust the base templates path.
*/
return apply_filters( 'woocommerce_template_path', 'woocommerce/' ); // phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingSinceComment
}