Created
April 25, 2012 20:52
-
-
Save pippinsplugins/2493260 to your computer and use it in GitHub Desktop.
EDD Currency Function
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function edd_get_currencies() { | |
$currencies = apply_filters('edd_currencies', array( | |
'USD' => __('US Dollars ($)', 'edd'), | |
'EUR' => __('Euros (€)', 'edd'), | |
'GBP' => __('Pounds Sterling (£)', 'edd'), | |
'AUD' => __('Australian Dollars ($)', 'edd'), | |
'BRL' => __('Brazilian Real ($)', 'edd'), | |
'CAD' => __('Canadian Dollars ($)', 'edd'), | |
'CZK' => __('Czech Koruna', 'edd'), | |
'DKK' => __('Danish Krone', 'edd'), | |
'HKD' => __('Hong Kong Dollar ($)', 'edd'), | |
'HUF' => __('Hungarian Forint', 'edd'), | |
'ILS' => __('Israeli Shekel', 'edd'), | |
'JPY' => __('Japanese Yen (¥)', 'edd'), | |
'MYR' => __('Malaysian Ringgits', 'edd'), | |
'MXN' => __('Mexican Peso ($)', 'edd'), | |
'NZD' => __('New Zealand Dollar ($)', 'edd'), | |
'NOK' => __('Norwegian Krone', 'edd'), | |
'PHP' => __('Philippine Pesos', 'edd'), | |
'PLN' => __('Polish Zloty', 'edd'), | |
'SGD' => __('Singapore Dollar ($)', 'edd'), | |
'SEK' => __('Swedish Krona', 'edd'), | |
'CHF' => __('Swiss Franc', 'edd'), | |
'TWD' => __('Taiwan New Dollars', 'edd'), | |
'THB' => __('Thai Baht', 'edd'), | |
'INR' => __('Indian Rupee', 'edd') | |
) | |
); | |
return $currencies; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment