rpress_payment_currency_code

Author: RestroPress 1 views

This filter is applied to use the Payment currency code, it is including two parameters.
$currency ->is a string to get currency.
$ID ->is used to get id.

function get_currency_code( $currency ) {
return $currency //return payment currency code.
}
add_filter( 'rpress_payment_currency_code', 'get_currency_code', 10,2 );