1+(91) 458 654 528 [email protected]

Add Currency

Estimated reading: 1 minute

How to add your Currency into Cleanly Payment Settings

Follow those step:

  1. Go to your WordPress Dashboard
  2. Edit your Main Theme or Child Theme -> function.php page
  3. Then Paste below sample code and update these files.

Note: You can run this code anywhere

add_filter('cleanly/currency/symbol/add', function( $symbol ){
    $symbol['ZAR'] = 'R';
    return $symbol;
});
add_filter('cleanly/currency/add', function($currency){
	$currency['ZAR'] = 'South African Rand (R)';
	return $currency;
});

Leave a Reply