Advertisement
verygoodplugins

Untitled

Feb 12th, 2021
1,221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 6.41 KB | None | 0 0
  1. <?php
  2. /**
  3.  * Countries
  4.  *
  5.  * Returns an array of countries and codes.
  6.  *
  7.  */
  8.  
  9. if ( ! defined( 'ABSPATH' ) ) {
  10.     exit;
  11. }
  12.  
  13. return array(
  14.     'AF' => 'Afghanistan',
  15.     'AX' => '&#197;land Islands',
  16.     'AL' => 'Albania',
  17.     'DZ' => 'Algeria',
  18.     'AS' => 'American Samoa',
  19.     'AD' => 'Andorra',
  20.     'AO' => 'Angola',
  21.     'AI' => 'Anguilla',
  22.     'AQ' => 'Antarctica',
  23.     'AG' => 'Antigua and Barbuda',
  24.     'AR' => 'Argentina',
  25.     'AM' => 'Armenia',
  26.     'AW' => 'Aruba',
  27.     'AU' => 'Australia',
  28.     'AT' => 'Austria',
  29.     'AZ' => 'Azerbaijan',
  30.     'BS' => 'Bahamas (the)',
  31.     'BH' => 'Bahrain',
  32.     'BD' => 'Bangladesh',
  33.     'BB' => 'Barbados',
  34.     'BY' => 'Belarus',
  35.     'BE' => 'Belgium',
  36.     'PW' => 'Belau',
  37.     'BZ' => 'Belize',
  38.     'BJ' => 'Benin',
  39.     'BM' => 'Bermuda',
  40.     'BT' => 'Bhutan',
  41.     'BO' => 'Bolivia (Plurinational State of)',
  42.     'BQ' => 'Bonaire, Sint Eustatius and Saba',
  43.     'BA' => 'Bosnia and Herzegovina',
  44.     'BW' => 'Botswana',
  45.     'BV' => 'Bouvet Island',
  46.     'BR' => 'Brazil',
  47.     'IO' => 'British Indian Ocean Territory (the)',
  48.     'VG' => 'Virgin Islands (British)',
  49.     'BN' => 'Brunei',
  50.     'BG' => 'Bulgaria',
  51.     'BF' => 'Burkina Faso',
  52.     'BI' => 'Burundi',
  53.     'KH' => 'Cambodia',
  54.     'CM' => 'Cameroon',
  55.     'CA' => 'Canada',
  56.     'CV' => 'Cape Verde',
  57.     'KY' => 'Cayman Islands (the)',
  58.     'CF' => 'Central African Republic (the)',
  59.     'TD' => 'Chad',
  60.     'CL' => 'Chile',
  61.     'CN' => 'China',
  62.     'CX' => 'Christmas Island',
  63.     'CC' => 'Cocos (Keeling) Islands (the)',
  64.     'CO' => 'Colombia',
  65.     'KM' => 'Comoros',
  66.     'CG' => 'Congo (the)',
  67.     'CD' => 'Congo (the Democratic Republic of the)',
  68.     'CK' => 'Cook Islands (the)',
  69.     'CR' => 'Costa Rica',
  70.     'HR' => 'Croatia',
  71.     'CU' => 'Cuba',
  72.     'CW' => 'Cura&ccedil;ao',
  73.     'CY' => 'Cyprus',
  74.     'CZ' => 'Czech Republic (the)',
  75.     'DK' => 'Denmark',
  76.     'DJ' => 'Djibouti',
  77.     'DM' => 'Dominica',
  78.     'DO' => 'Dominican Republic (the)',
  79.     'EC' => 'Ecuador',
  80.     'EG' => 'Egypt',
  81.     'SV' => 'El Salvador',
  82.     'GQ' => 'Equatorial Guinea',
  83.     'ER' => 'Eritrea',
  84.     'EE' => 'Estonia',
  85.     'ET' => 'Ethiopia',
  86.     'FK' => 'Falkland Islands (the) [Malvinas]',
  87.     'FO' => 'Faroe Islands (the)',
  88.     'FJ' => 'Fiji',
  89.     'FI' => 'Finland',
  90.     'FR' => 'France',
  91.     'GF' => 'French Guiana',
  92.     'PF' => 'French Polynesia',
  93.     'TF' => 'French Southern Territories (the)',
  94.     'GA' => 'Gabon',
  95.     'GM' => 'Gambia',
  96.     'GE' => 'Georgia',
  97.     'DE' => 'Germany',
  98.     'GH' => 'Ghana',
  99.     'GI' => 'Gibraltar',
  100.     'GR' => 'Greece',
  101.     'GL' => 'Greenland',
  102.     'GD' => 'Grenada',
  103.     'GP' => 'Guadeloupe',
  104.     'GU' => 'Guam',
  105.     'GT' => 'Guatemala',
  106.     'GG' => 'Guernsey',
  107.     'GN' => 'Guinea',
  108.     'GW' => 'Guinea-Bissau',
  109.     'GY' => 'Guyana',
  110.     'HT' => 'Haiti',
  111.     'HM' => 'Heard Island and McDonald Islands',
  112.     'HN' => 'Honduras',
  113.     'HK' => 'Hong Kong',
  114.     'HU' => 'Hungary',
  115.     'IS' => 'Iceland',
  116.     'IN' => 'India',
  117.     'ID' => 'Indonesia',
  118.     'IR' => 'Iran (Islamic Republic of)',
  119.     'IQ' => 'Iraq',
  120.     'IE' => 'Ireland',
  121.     'IM' => 'Isle of Man',
  122.     'IL' => 'Israel',
  123.     'IT' => 'Italy',
  124.     'CI' => 'Ivory Coast',
  125.     'JM' => 'Jamaica',
  126.     'JP' => 'Japan',
  127.     'JE' => 'Jersey',
  128.     'JO' => 'Jordan',
  129.     'KZ' => 'Kazakhstan',
  130.     'KE' => 'Kenya',
  131.     'KI' => 'Kiribati',
  132.     'KW' => 'Kuwait',
  133.     'KG' => 'Kyrgyzstan',
  134.     'LA' => 'Lao People\'s Democratic Republic (the)',
  135.     'LV' => 'Latvia',
  136.     'LB' => 'Lebanon',
  137.     'LS' => 'Lesotho',
  138.     'LR' => 'Liberia',
  139.     'LY' => 'Libya',
  140.     'LI' => 'Liechtenstein',
  141.     'LT' => 'Lithuania',
  142.     'LU' => 'Luxembourg',
  143.     'MO' => 'Macao S.A.R., China',
  144.     'MK' => 'Macedonia (the former Yugoslav Republic of)',
  145.     'MG' => 'Madagascar',
  146.     'MW' => 'Malawi',
  147.     'MY' => 'Malaysia',
  148.     'MV' => 'Maldives',
  149.     'ML' => 'Mali',
  150.     'MT' => 'Malta',
  151.     'MH' => 'Marshall Islands (the)',
  152.     'MQ' => 'Martinique',
  153.     'MR' => 'Mauritania',
  154.     'MU' => 'Mauritius',
  155.     'YT' => 'Mayotte',
  156.     'MX' => 'Mexico',
  157.     'FM' => 'Micronesia (Federated States of)',
  158.     'MD' => 'Moldova (the Republic of)',
  159.     'MC' => 'Monaco',
  160.     'MN' => 'Mongolia',
  161.     'ME' => 'Montenegro',
  162.     'MS' => 'Montserrat',
  163.     'MA' => 'Morocco',
  164.     'MZ' => 'Mozambique',
  165.     'MM' => 'Myanmar',
  166.     'NA' => 'Namibia',
  167.     'NR' => 'Nauru',
  168.     'NP' => 'Nepal',
  169.     'NL' => 'Netherlands (the)',
  170.     'NC' => 'New Caledonia',
  171.     'NZ' => 'New Zealand',
  172.     'NI' => 'Nicaragua',
  173.     'NE' => 'Niger (the)',
  174.     'NG' => 'Nigeria',
  175.     'NU' => 'Niue',
  176.     'NF' => 'Norfolk Island',
  177.     'MP' => 'Northern Mariana Islands (the)',
  178.     'KP' => 'Korea (the Democratic People\'s Republic of)',
  179.     'NO' => 'Norway',
  180.     'OM' => 'Oman',
  181.     'PK' => 'Pakistan',
  182.     'PS' => 'Palestine, State of',
  183.     'PA' => 'Panama',
  184.     'PG' => 'Papua New Guinea',
  185.     'PY' => 'Paraguay',
  186.     'PE' => 'Peru',
  187.     'PH' => 'Philippines (the)',
  188.     'PN' => 'Pitcairn',
  189.     'PL' => 'Poland',
  190.     'PT' => 'Portugal',
  191.     'PR' => 'Puerto Rico',
  192.     'QA' => 'Qatar',
  193.     'RE' => 'Reunion',
  194.     'RO' => 'Romania',
  195.     'RU' => 'Russian Federation (the)',
  196.     'RW' => 'Rwanda',
  197.     'BL' => 'Saint Barth&eacute;lemy',
  198.     'SH' => 'Saint Helena',
  199.     'KN' => 'Saint Kitts and Nevis',
  200.     'LC' => 'Saint Lucia',
  201.     'MF' => 'Saint Martin (French part)',
  202.     'SX' => 'Sint Maarten (Dutch part)',
  203.     'PM' => 'Saint Pierre and Miquelon',
  204.     'VC' => 'Saint Vincent and the Grenadines',
  205.     'SM' => 'San Marino',
  206.     'ST' => 'S&atilde;o Tom&eacute; and Pr&iacute;ncipe',
  207.     'SA' => 'Saudi Arabia',
  208.     'SN' => 'Senegal',
  209.     'RS' => 'Serbia',
  210.     'SC' => 'Seychelles',
  211.     'SL' => 'Sierra Leone',
  212.     'SG' => 'Singapore',
  213.     'SK' => 'Slovakia',
  214.     'SI' => 'Slovenia',
  215.     'SB' => 'Solomon Islands',
  216.     'SO' => 'Somalia',
  217.     'ZA' => 'South Africa',
  218.     'GS' => 'South Georgia/Sandwich Islands',
  219.     'KR' => 'Korea (the Republic of)',
  220.     'SS' => 'South Sudan',
  221.     'ES' => 'Spain',
  222.     'LK' => 'Sri Lanka',
  223.     'SD' => 'Sudan (the)',
  224.     'SR' => 'Suriname',
  225.     'SJ' => 'Svalbard and Jan Mayen',
  226.     'SZ' => 'Swaziland',
  227.     'SE' => 'Sweden',
  228.     'CH' => 'Switzerland',
  229.     'SY' => 'Syria',
  230.     'TW' => 'Taiwan (Province of China)',
  231.     'TJ' => 'Tajikistan',
  232.     'TZ' => 'Tanzania, United Republic of',
  233.     'TH' => 'Thailand',
  234.     'TL' => 'Timor-Leste',
  235.     'TG' => 'Togo',
  236.     'TK' => 'Tokelau',
  237.     'TO' => 'Tonga',
  238.     'TT' => 'Trinidad and Tobago',
  239.     'TN' => 'Tunisia',
  240.     'TR' => 'Turkey',
  241.     'TM' => 'Turkmenistan',
  242.     'TC' => 'Turks and Caicos Islands (the)',
  243.     'TV' => 'Tuvalu',
  244.     'UG' => 'Uganda',
  245.     'UA' => 'Ukraine',
  246.     'AE' => 'United Arab Emirates (the)',
  247.     'GB' => 'United Kingdom',
  248.     'US' => 'United States',
  249.     'UM' => 'United States Minor Outlying Islands (the)',
  250.     'VI' => 'Virgin Islands (U.S.)',
  251.     'UY' => 'Uruguay',
  252.     'UZ' => 'Uzbekistan',
  253.     'VU' => 'Vanuatu',
  254.     'VA' => 'Vatican',
  255.     'VE' => 'Venezuela',
  256.     'VN' => 'Vietnam',
  257.     'WF' => 'Wallis and Futuna',
  258.     'EH' => 'Western Sahara',
  259.     'WS' => 'Samoa',
  260.     'YE' => 'Yemen',
  261.     'ZM' => 'Zambia',
  262.     'ZW' => 'Zimbabwe'
  263. );
  264.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement