-
-
Save aadityajs/8235782 to your computer and use it in GitHub Desktop.
woocommerce_get_price_html - add + VAT
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'woocommerce_get_price_html', 'price_plus_vat' ); | |
function price_plus_vat( $price ) { | |
return $price . ' ' . __( '+ VAT', 'woocommerce' ); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment