Hi,
Put this into your theme’s functions.php.
/**
* Add new currency symbol
*
* @param $currency_symbol
* @param $currency
*
* @return string
*/
function thim_new_learnpress_currency_symbol( $currency_symbol, $currency ) {
if ( $currency == 'RUB' ) {
$currency_symbol = 'Р';
}
return $currency_symbol;
}
add_filter( 'learn_press_currency_symbol', 'thim_new_learnpress_currency_symbol', 10, 2 );
Try and let me know 🙂
Yes, but I need an international ruble symbol
Just replace this one http://prntscr.com/es3sy2 with the ruble symbol 🙂
🙂 Hope you guys like my LearnPress and don’t forget to rate it a 5*. Thanks!