woocommerce_locate_core_template filter-hook . WC 1.0
Locate template file.
Usage
add_filter( 'woocommerce_locate_core_template', 'filter_function_name_5023', 10, 4 ); function filter_function_name_5023( $core_file, $template, $template_base, $id ){ // filter... return $core_file; }
- $core_file
- -
- $template
- -
- $template_base
- -
- $id
- -
Where the hook is called
woocommerce_locate_core_template
woocommerce_locate_core_template
woocommerce/includes/emails/class-wc-email.php 819
$template_file = apply_filters( 'woocommerce_locate_core_template', $core_file, $template, $this->template_base, $this->id );
woocommerce/includes/emails/class-wc-email.php 959
$template_file = apply_filters( 'woocommerce_locate_core_template', $core_file, $template, $this->template_base, $this->id );