refer link
https://code.i-harness.com/en/q/1b8888a
Display tax totals as a single total
add_filter( 'woocommerce_countries_tax_or_vat', function () {
return __( 'GST', 'woocommerce' );
});
Another Examples
add_filter( 'woocommerce_countries_inc_tax_or_vat', function () {
return __( 'GST', 'woocommerce' );
});
add_filter( 'woocommerce_countries_ex_tax_or_vat', function () {
return __( 'GST', 'woocommerce' );
});
Comments
Post a Comment