get_woocommerce_currencies

Get full list of currency codes.

Description

(array) get_woocommerce_currencies(); 

Returns (array)


Usage

  1. if ( !function_exists( 'get_woocommerce_currencies' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce/includes/wc-core-functions.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = get_woocommerce_currencies(); 
  7.  

Defined (1)

The function is defined in the following location(s).

/includes/wc-core-functions.php  
  1. function get_woocommerce_currencies() { 
  2. return array_unique( 
  3. apply_filters( 'woocommerce_currencies',  
  4. array( 
  5. 'AED' => __( 'United Arab Emirates dirham', woocommerce ),  
  6. 'AFN' => __( 'Afghan afghani', woocommerce ),  
  7. 'ALL' => __( 'Albanian lek', woocommerce ),  
  8. 'AMD' => __( 'Armenian dram', woocommerce ),  
  9. 'ANG' => __( 'Netherlands Antillean guilder', woocommerce ),  
  10. 'AOA' => __( 'Angolan kwanza', woocommerce ),  
  11. 'ARS' => __( 'Argentine peso', woocommerce ),  
  12. 'AUD' => __( 'Australian dollar', woocommerce ),  
  13. 'AWG' => __( 'Aruban florin', woocommerce ),  
  14. 'AZN' => __( 'Azerbaijani manat', woocommerce ),  
  15. 'BAM' => __( 'Bosnia and Herzegovina convertible mark', woocommerce ),  
  16. 'BBD' => __( 'Barbadian dollar', woocommerce ),  
  17. 'BDT' => __( 'Bangladeshi taka', woocommerce ),  
  18. 'BGN' => __( 'Bulgarian lev', woocommerce ),  
  19. 'BHD' => __( 'Bahraini dinar', woocommerce ),  
  20. 'BIF' => __( 'Burundian franc', woocommerce ),  
  21. 'BMD' => __( 'Bermudian dollar', woocommerce ),  
  22. 'BND' => __( 'Brunei dollar', woocommerce ),  
  23. 'BOB' => __( 'Bolivian boliviano', woocommerce ),  
  24. 'BRL' => __( 'Brazilian real', woocommerce ),  
  25. 'BSD' => __( 'Bahamian dollar', woocommerce ),  
  26. 'BTC' => __( 'Bitcoin', woocommerce ),  
  27. 'BTN' => __( 'Bhutanese ngultrum', woocommerce ),  
  28. 'BWP' => __( 'Botswana pula', woocommerce ),  
  29. 'BYR' => __( 'Belarusian ruble', woocommerce ),  
  30. 'BZD' => __( 'Belize dollar', woocommerce ),  
  31. 'CAD' => __( 'Canadian dollar', woocommerce ),  
  32. 'CDF' => __( 'Congolese franc', woocommerce ),  
  33. 'CHF' => __( 'Swiss franc', woocommerce ),  
  34. 'CLP' => __( 'Chilean peso', woocommerce ),  
  35. 'CNY' => __( 'Chinese yuan', woocommerce ),  
  36. 'COP' => __( 'Colombian peso', woocommerce ),  
  37. 'CRC' => __( 'Costa Rican colón', woocommerce ),  
  38. 'CUC' => __( 'Cuban convertible peso', woocommerce ),  
  39. 'CUP' => __( 'Cuban peso', woocommerce ),  
  40. 'CVE' => __( 'Cape Verdean escudo', woocommerce ),  
  41. 'CZK' => __( 'Czech koruna', woocommerce ),  
  42. 'DJF' => __( 'Djiboutian franc', woocommerce ),  
  43. 'DKK' => __( 'Danish krone', woocommerce ),  
  44. 'DOP' => __( 'Dominican peso', woocommerce ),  
  45. 'DZD' => __( 'Algerian dinar', woocommerce ),  
  46. 'EGP' => __( 'Egyptian pound', woocommerce ),  
  47. 'ERN' => __( 'Eritrean nakfa', woocommerce ),  
  48. 'ETB' => __( 'Ethiopian birr', woocommerce ),  
  49. 'EUR' => __( 'Euro', woocommerce ),  
  50. 'FJD' => __( 'Fijian dollar', woocommerce ),  
  51. 'FKP' => __( 'Falkland Islands pound', woocommerce ),  
  52. 'GBP' => __( 'Pound sterling', woocommerce ),  
  53. 'GEL' => __( 'Georgian lari', woocommerce ),  
  54. 'GGP' => __( 'Guernsey pound', woocommerce ),  
  55. 'GHS' => __( 'Ghana cedi', woocommerce ),  
  56. 'GIP' => __( 'Gibraltar pound', woocommerce ),  
  57. 'GMD' => __( 'Gambian dalasi', woocommerce ),  
  58. 'GNF' => __( 'Guinean franc', woocommerce ),  
  59. 'GTQ' => __( 'Guatemalan quetzal', woocommerce ),  
  60. 'GYD' => __( 'Guyanese dollar', woocommerce ),  
  61. 'HKD' => __( 'Hong Kong dollar', woocommerce ),  
  62. 'HNL' => __( 'Honduran lempira', woocommerce ),  
  63. 'HRK' => __( 'Croatian kuna', woocommerce ),  
  64. 'HTG' => __( 'Haitian gourde', woocommerce ),  
  65. 'HUF' => __( 'Hungarian forint', woocommerce ),  
  66. 'IDR' => __( 'Indonesian rupiah', woocommerce ),  
  67. 'ILS' => __( 'Israeli new shekel', woocommerce ),  
  68. 'IMP' => __( 'Manx pound', woocommerce ),  
  69. 'INR' => __( 'Indian rupee', woocommerce ),  
  70. 'IQD' => __( 'Iraqi dinar', woocommerce ),  
  71. 'IRR' => __( 'Iranian rial', woocommerce ),  
  72. 'IRT' => __( 'Iranian toman', woocommerce ),  
  73. 'ISK' => __( 'Icelandic króna', woocommerce ),  
  74. 'JEP' => __( 'Jersey pound', woocommerce ),  
  75. 'JMD' => __( 'Jamaican dollar', woocommerce ),  
  76. 'JOD' => __( 'Jordanian dinar', woocommerce ),  
  77. 'JPY' => __( 'Japanese yen', woocommerce ),  
  78. 'KES' => __( 'Kenyan shilling', woocommerce ),  
  79. 'KGS' => __( 'Kyrgyzstani som', woocommerce ),  
  80. 'KHR' => __( 'Cambodian riel', woocommerce ),  
  81. 'KMF' => __( 'Comorian franc', woocommerce ),  
  82. 'KPW' => __( 'North Korean won', woocommerce ),  
  83. 'KRW' => __( 'South Korean won', woocommerce ),  
  84. 'KWD' => __( 'Kuwaiti dinar', woocommerce ),  
  85. 'KYD' => __( 'Cayman Islands dollar', woocommerce ),  
  86. 'KZT' => __( 'Kazakhstani tenge', woocommerce ),  
  87. 'LAK' => __( 'Lao kip', woocommerce ),  
  88. 'LBP' => __( 'Lebanese pound', woocommerce ),  
  89. 'LKR' => __( 'Sri Lankan rupee', woocommerce ),  
  90. 'LRD' => __( 'Liberian dollar', woocommerce ),  
  91. 'LSL' => __( 'Lesotho loti', woocommerce ),  
  92. 'LYD' => __( 'Libyan dinar', woocommerce ),  
  93. 'MAD' => __( 'Moroccan dirham', woocommerce ),  
  94. 'MDL' => __( 'Moldovan leu', woocommerce ),  
  95. 'MGA' => __( 'Malagasy ariary', woocommerce ),  
  96. 'MKD' => __( 'Macedonian denar', woocommerce ),  
  97. 'MMK' => __( 'Burmese kyat', woocommerce ),  
  98. 'MNT' => __( 'Mongolian tögrög', woocommerce ),  
  99. 'MOP' => __( 'Macanese pataca', woocommerce ),  
  100. 'MRO' => __( 'Mauritanian ouguiya', woocommerce ),  
  101. 'MUR' => __( 'Mauritian rupee', woocommerce ),  
  102. 'MVR' => __( 'Maldivian rufiyaa', woocommerce ),  
  103. 'MWK' => __( 'Malawian kwacha', woocommerce ),  
  104. 'MXN' => __( 'Mexican peso', woocommerce ),  
  105. 'MYR' => __( 'Malaysian ringgit', woocommerce ),  
  106. 'MZN' => __( 'Mozambican metical', woocommerce ),  
  107. 'NAD' => __( 'Namibian dollar', woocommerce ),  
  108. 'NGN' => __( 'Nigerian naira', woocommerce ),  
  109. 'NIO' => __( 'Nicaraguan córdoba', woocommerce ),  
  110. 'NOK' => __( 'Norwegian krone', woocommerce ),  
  111. 'NPR' => __( 'Nepalese rupee', woocommerce ),  
  112. 'NZD' => __( 'New Zealand dollar', woocommerce ),  
  113. 'OMR' => __( 'Omani rial', woocommerce ),  
  114. 'PAB' => __( 'Panamanian balboa', woocommerce ),  
  115. 'PEN' => __( 'Peruvian nuevo sol', woocommerce ),  
  116. 'PGK' => __( 'Papua New Guinean kina', woocommerce ),  
  117. 'PHP' => __( 'Philippine peso', woocommerce ),  
  118. 'PKR' => __( 'Pakistani rupee', woocommerce ),  
  119. 'PLN' => __( 'Polish złoty', woocommerce ),  
  120. 'PRB' => __( 'Transnistrian ruble', woocommerce ),  
  121. 'PYG' => __( 'Paraguayan guaraní', woocommerce ),  
  122. 'QAR' => __( 'Qatari riyal', woocommerce ),  
  123. 'RON' => __( 'Romanian leu', woocommerce ),  
  124. 'RSD' => __( 'Serbian dinar', woocommerce ),  
  125. 'RUB' => __( 'Russian ruble', woocommerce ),  
  126. 'RWF' => __( 'Rwandan franc', woocommerce ),  
  127. 'SAR' => __( 'Saudi riyal', woocommerce ),  
  128. 'SBD' => __( 'Solomon Islands dollar', woocommerce ),  
  129. 'SCR' => __( 'Seychellois rupee', woocommerce ),  
  130. 'SDG' => __( 'Sudanese pound', woocommerce ),  
  131. 'SEK' => __( 'Swedish krona', woocommerce ),  
  132. 'SGD' => __( 'Singapore dollar', woocommerce ),  
  133. 'SHP' => __( 'Saint Helena pound', woocommerce ),  
  134. 'SLL' => __( 'Sierra Leonean leone', woocommerce ),  
  135. 'SOS' => __( 'Somali shilling', woocommerce ),  
  136. 'SRD' => __( 'Surinamese dollar', woocommerce ),  
  137. 'SSP' => __( 'South Sudanese pound', woocommerce ),  
  138. 'STD' => __( 'São Tomé and Príncipe dobra', woocommerce ),  
  139. 'SYP' => __( 'Syrian pound', woocommerce ),  
  140. 'SZL' => __( 'Swazi lilangeni', woocommerce ),  
  141. 'THB' => __( 'Thai baht', woocommerce ),  
  142. 'TJS' => __( 'Tajikistani somoni', woocommerce ),  
  143. 'TMT' => __( 'Turkmenistan manat', woocommerce ),  
  144. 'TND' => __( 'Tunisian dinar', woocommerce ),  
  145. 'TOP' => __( 'Tongan paʻanga', woocommerce ),  
  146. 'TRY' => __( 'Turkish lira', woocommerce ),  
  147. 'TTD' => __( 'Trinidad and Tobago dollar', woocommerce ),  
  148. 'TWD' => __( 'New Taiwan dollar', woocommerce ),  
  149. 'TZS' => __( 'Tanzanian shilling', woocommerce ),  
  150. 'UAH' => __( 'Ukrainian hryvnia', woocommerce ),  
  151. 'UGX' => __( 'Ugandan shilling', woocommerce ),  
  152. 'USD' => __( 'United States dollar', woocommerce ),  
  153. 'UYU' => __( 'Uruguayan peso', woocommerce ),  
  154. 'UZS' => __( 'Uzbekistani som', woocommerce ),  
  155. 'VEF' => __( 'Venezuelan bolívar', woocommerce ),  
  156. 'VND' => __( 'Vietnamese đồng', woocommerce ),  
  157. 'VUV' => __( 'Vanuatu vatu', woocommerce ),  
  158. 'WST' => __( 'Samoan tālā', woocommerce ),  
  159. 'XAF' => __( 'Central African CFA franc', woocommerce ),  
  160. 'XCD' => __( 'East Caribbean dollar', woocommerce ),  
  161. 'XOF' => __( 'West African CFA franc', woocommerce ),  
  162. 'XPF' => __( 'CFP franc', woocommerce ),  
  163. 'YER' => __( 'Yemeni rial', woocommerce ),  
  164. 'ZAR' => __( 'South African rand', woocommerce ),  
  165. 'ZMW' => __( 'Zambian kwacha', woocommerce ),  
  166. );