woocommerce_template_path filter-hookWC 1.0

Filter to adjust the base templates path.

Usage

add_filter( 'woocommerce_template_path', 'wp_kama_woocommerce_template_path_filter' );

/**
 * Function for `woocommerce_template_path` filter-hook.
 * 
 * @param  $string 
 *
 * @return 
 */
function wp_kama_woocommerce_template_path_filter( $string ){

	// filter...
	return $string;
}
$string
-

Where the hook is called

WooCommerce::template_path()
woocommerce_template_path
woocommerce/includes/class-woocommerce.php 762
return apply_filters( 'woocommerce_template_path', 'woocommerce/' ); // phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingSinceComment

Where the hook is used in WooCommerce

Usage not found.