Skip to content

Instantly share code, notes, and snippets.

@jameskoster
jameskoster / functions.php
Created October 7, 2013 21:24
WooCommerce - add text after price
add_filter( 'woocommerce_get_price_html', 'custom_price_message' );
function custom_price_message( $price ) {
$vat = ' (plus VAT)';
return $price . $vat;
}