Skip to content

Instantly share code, notes, and snippets.

@aadityajs
Forked from mikejolley/gist:4150218
Last active January 2, 2016 02:18
Show Gist options
  • Save aadityajs/8235782 to your computer and use it in GitHub Desktop.
Save aadityajs/8235782 to your computer and use it in GitHub Desktop.
woocommerce_get_price_html - add + VAT
<?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