Apply filter for wc_get_template_part() function