woocommerce_locate_core_template filter-hookWC 1.0

Usage

add_filter( 'woocommerce_locate_core_template', 'wp_kama_woocommerce_locate_core_template_filter', 10, 4 );

/**
 * Function for `woocommerce_locate_core_template` filter-hook.
 * 
 * @param  $core_file     
 * @param  $template      
 * @param  $template_base 
 * @param  $id            
 *
 * @return 
 */
function wp_kama_woocommerce_locate_core_template_filter( $core_file, $template, $template_base, $id ){

	// filter...
	return $core_file;
}
$core_file
-
$template
-
$template_base
-
$id
-

Where the hook is called

WC_Email::move_template_action()
woocommerce_locate_core_template
WC_Email::admin_options()
woocommerce_locate_core_template
woocommerce/includes/emails/class-wc-email.php 883
$template_file = apply_filters( 'woocommerce_locate_core_template', $core_file, $template, $this->template_base, $this->id );
woocommerce/includes/emails/class-wc-email.php 1023
$template_file = apply_filters( 'woocommerce_locate_core_template', $core_file, $template, $this->template_base, $this->id );

Where the hook is used in WooCommerce

Usage not found.