این کد رو از سایت رسمی خودش پیدا کردم و باید به function قالبتون اضافه کنید
/**
* Add new currency
*
* @param $currencies
*
* @return mixed
*/
function thim_add_learnpress_currency( $currencies ) {
$currencies['Code'] = 'Currency name';
return $currencies;
}
add_filter( 'learn_press_get_payment_currencies', 'thim_add_learnpress_currency' );
/**
* Add new currency symbol
*
* @param $currency_symbol
* @param $currency
*
* @return string
*/
function thim_new_learnpress_currency_symbol( $currency_symbol, $currency ) {
if ( $currency == 'Code' ) {
$currency_symbol = 'Symbol';
}
return $curren