Reply To: Indian Currency

Home Forums User Registration Indian Currency Reply To: Indian Currency

#4806

Tyler Franko
Participant

add_filter(‘user_registration_payments_currencies’, ‘ur_add_uk_currency’);
function ur_add_indian_currency( $currencies ) {

$uk_currency = array( ‘INR’ => array(
‘name’ => esc_html__( ‘Pounds Sterling’, ‘user-registration-payments’ ),
‘symbol’ => ‘£’,
‘symbol_pos’ => ‘left’,
‘thousands_separator’ => ‘,’,
‘decimal_separator’ => ‘.’,
‘decimals’ => 2,
) );

return array_merge( $currencies, $uk_currency );
}