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