Created
August 15, 2019 09:43
-
-
Save plugin-republic/2eaa821f97987a02852e6a5c2c6c1ec4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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