Apply filter for wc_get_template_part() function

Apply filter for wc_get_template_part() function by added this code line
$template = apply_filters( 'wc_get_template_part', $template, $slug, $name );

below
$template = locate_template( array ( "{$slug}.php", WC()->template_path() . "{$slug}.php" ) );

inside  wc_get_template_part() function