woocommerce_locate_template filter-hookWC 1.0

Return what we found.

Usage

add_filter( 'woocommerce_locate_template', 'wp_kama_woocommerce_locate_template_filter', 10, 3 );

/**
 * Function for `woocommerce_locate_template` filter-hook.
 * 
 * @param  $template      
 * @param  $template_name 
 * @param  $template_path 
 *
 * @return 
 */
function wp_kama_woocommerce_locate_template_filter( $template, $template_name, $template_path ){

	// filter...
	return $template;
}
$template
-
$template_name
-
$template_path
-

Where the hook is called

wc_locate_template()
woocommerce_locate_template
woocommerce/includes/wc-core-functions.php 420
return apply_filters( 'woocommerce_locate_template', $template, $template_name, $template_path );

Where the hook is used in WooCommerce

Usage not found.