WooCommerce::template_path()publicWC 1.0

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() code WC 8.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
}