Skip to content

Instantly share code, notes, and snippets.

@lukecav
Created December 1, 2017 03:57
Show Gist options
  • Select an option

  • Save lukecav/5a1a47ea644b64530b7a78853f5014c2 to your computer and use it in GitHub Desktop.

Select an option

Save lukecav/5a1a47ea644b64530b7a78853f5014c2 to your computer and use it in GitHub Desktop.
Add wording after the regular price in WooCommerce
add_filter( 'woocommerce_get_price_html', 'custom_price_message' );
function custom_price_message( $price ) {
$wording = ' Pricing ';
return $price . $wording;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment