Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
/**
* Change the separator between an option name and its additional price
*/
function prefix_pewc_option_price_separator( $sep, $item ) {
$sep = ' + ';
return $sep;
}
add_filter( 'pewc_option_price_separator', 'prefix_pewc_option_price_separator', 10, 2 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.