Adding Currency Support: edd_currencies

The “edd_currencies” filter allows you to easily add support for your own additional currencies to Easy Digital Downloads.

Let’s say, for example, that you want to add support for the Indian Rupee (already supported, so this is only an example). The sample function below would add the support:

function pippin_extra_edd_currencies( $currencies ) {
	$currencies['INR'] = __('Indian Rupee', 'your_domain');
	return $currencies;
}
add_filter('edd_currencies', 'pippin_extra_edd_currencies');

The array key is the currency code and the value is the currency label.

Note, it is important that you know that not all payment gateways support all currencies. Check to make sure that your chosen gateway supports the currency you wish to use before launching your store.

Currency codes may also be added without using any code through this plugin.