Skip to content

Instantly share code, notes, and snippets.

@mikejolley
Created November 26, 2012 19:49
Show Gist options
  • Save mikejolley/4150218 to your computer and use it in GitHub Desktop.
Save mikejolley/4150218 to your computer and use it in GitHub Desktop.
woocommerce_get_price_html - add + VAT
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