RestroPress

⌘K
  1. Home
  2. Docs
  3. RestroPress
  4. Developer Docs
  5. Filters
  6. rpress_payment_currency

rpress_payment_currency

This filter is applied to use the payment currency, it is including two parameters.
$payment_id-> its containing payment id.
$currency -> is containing currency name.

An example of how you can append additional information:

function get_payment_currency( $payment_id,$currency ) {
// its return currency name.
return $currency;
}
add_filter( 'rpress_payment_currency', ''get_payment_currency);

How can we help?