Aditional information what is needed
iso4217-code is: BAM
See github: https://github.com/barrykooij/wp-car-manager/pull/192
-
This reply was modified 7 years, 2 months ago by
Patrick.
-
This reply was modified 7 years, 2 months ago by
Patrick.
Hello,
I apologize for the delay in replying.
For now to add this currency, please add the following code to the “functions.php” file located inside your child or parent theme folder.
/**
* Add new currency to WPCM plugin
*/
add_filter( 'wpcm_currencies', function( $currencies ) {
$currencies[ 'KM' ] = 'Konvertabilna Marka';
return $currencies;
}, 10, 1 );
add_filter( 'wpcm_currency_symbol', 'my_custom_symbol', 10, 2);
function my_custom_symbol( $currency_symbol, $currency ) {
if( $currency == 'KM') {
$currency_symbol = 'KM';
}
return $currency_symbol;
}