commit
2155b30065
|
@ -179,6 +179,9 @@ function wc_get_template( $template_name, $args = array(), $template_path = '',
|
|||
return;
|
||||
}
|
||||
|
||||
// Allow 3rd party plugin filter template file from their plugin
|
||||
$located = apply_filters( 'wc_get_template', $located, $template_name, $args, $template_path, $default_path );
|
||||
|
||||
do_action( 'woocommerce_before_template_part', $template_name, $template_path, $located, $args );
|
||||
|
||||
include( $located );
|
||||
|
|
Loading…
Reference in New Issue