@@ -10,7 +10,7 @@ discard block |
||
| 10 | 10 | */ |
| 11 | 11 | |
| 12 | 12 | // Exit if accessed directly. |
| 13 | -if ( ! defined( 'ABSPATH' ) ) { |
|
| 13 | +if ( ! defined('ABSPATH')) { |
|
| 14 | 14 | exit; |
| 15 | 15 | } |
| 16 | 16 | |
@@ -22,9 +22,9 @@ discard block |
||
| 22 | 22 | */ |
| 23 | 23 | function give_get_country() { |
| 24 | 24 | $give_options = give_get_settings(); |
| 25 | - $country = isset( $give_options['base_country'] ) ? $give_options['base_country'] : 'US'; |
|
| 25 | + $country = isset($give_options['base_country']) ? $give_options['base_country'] : 'US'; |
|
| 26 | 26 | |
| 27 | - return apply_filters( 'give_give_country', $country ); |
|
| 27 | + return apply_filters('give_give_country', $country); |
|
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | /** |
@@ -35,9 +35,9 @@ discard block |
||
| 35 | 35 | */ |
| 36 | 36 | function give_get_state() { |
| 37 | 37 | $give_options = give_get_settings(); |
| 38 | - $state = isset( $give_options['base_state'] ) ? $give_options['base_state'] : false; |
|
| 38 | + $state = isset($give_options['base_state']) ? $give_options['base_state'] : false; |
|
| 39 | 39 | |
| 40 | - return apply_filters( 'give_give_state', $state ); |
|
| 40 | + return apply_filters('give_give_state', $state); |
|
| 41 | 41 | } |
| 42 | 42 | |
| 43 | 43 | /** |
@@ -49,12 +49,12 @@ discard block |
||
| 49 | 49 | * |
| 50 | 50 | * @return mixed A list of states for the site's base country. |
| 51 | 51 | */ |
| 52 | -function give_get_states( $country = null ) { |
|
| 52 | +function give_get_states($country = null) { |
|
| 53 | 53 | // If Country have no states return empty array. |
| 54 | 54 | $states = array(); |
| 55 | 55 | |
| 56 | 56 | // Check if Country Code is empty or not. |
| 57 | - if ( empty( $country ) ) { |
|
| 57 | + if (empty($country)) { |
|
| 58 | 58 | // Get defalut country code that is being set by the admin. |
| 59 | 59 | $country = give_get_country(); |
| 60 | 60 | } |
@@ -63,8 +63,8 @@ discard block |
||
| 63 | 63 | $states_list = give_states_list(); |
| 64 | 64 | |
| 65 | 65 | // Check if $country code exists in the array key. |
| 66 | - if ( array_key_exists( $country, $states_list ) ) { |
|
| 67 | - $states = $states_list[ $country ]; |
|
| 66 | + if (array_key_exists($country, $states_list)) { |
|
| 67 | + $states = $states_list[$country]; |
|
| 68 | 68 | } |
| 69 | 69 | |
| 70 | 70 | /** |
@@ -72,7 +72,7 @@ discard block |
||
| 72 | 72 | * |
| 73 | 73 | * @param string $query Database count query |
| 74 | 74 | */ |
| 75 | - return (array) apply_filters( 'give_give_states', $states ); |
|
| 75 | + return (array) apply_filters('give_give_states', $states); |
|
| 76 | 76 | } |
| 77 | 77 | |
| 78 | 78 | /** |
@@ -84,253 +84,253 @@ discard block |
||
| 84 | 84 | function give_get_country_list() { |
| 85 | 85 | $countries = array( |
| 86 | 86 | '' => '', |
| 87 | - 'US' => esc_html__( 'United States', 'give' ), |
|
| 88 | - 'CA' => esc_html__( 'Canada', 'give' ), |
|
| 89 | - 'GB' => esc_html__( 'United Kingdom', 'give' ), |
|
| 90 | - 'AF' => esc_html__( 'Afghanistan', 'give' ), |
|
| 91 | - 'AL' => esc_html__( 'Albania', 'give' ), |
|
| 92 | - 'DZ' => esc_html__( 'Algeria', 'give' ), |
|
| 93 | - 'AS' => esc_html__( 'American Samoa', 'give' ), |
|
| 94 | - 'AD' => esc_html__( 'Andorra', 'give' ), |
|
| 95 | - 'AO' => esc_html__( 'Angola', 'give' ), |
|
| 96 | - 'AI' => esc_html__( 'Anguilla', 'give' ), |
|
| 97 | - 'AQ' => esc_html__( 'Antarctica', 'give' ), |
|
| 98 | - 'AG' => esc_html__( 'Antigua and Barbuda', 'give' ), |
|
| 99 | - 'AR' => esc_html__( 'Argentina', 'give' ), |
|
| 100 | - 'AM' => esc_html__( 'Armenia', 'give' ), |
|
| 101 | - 'AW' => esc_html__( 'Aruba', 'give' ), |
|
| 102 | - 'AU' => esc_html__( 'Australia', 'give' ), |
|
| 103 | - 'AT' => esc_html__( 'Austria', 'give' ), |
|
| 104 | - 'AZ' => esc_html__( 'Azerbaijan', 'give' ), |
|
| 105 | - 'BS' => esc_html__( 'Bahamas', 'give' ), |
|
| 106 | - 'BH' => esc_html__( 'Bahrain', 'give' ), |
|
| 107 | - 'BD' => esc_html__( 'Bangladesh', 'give' ), |
|
| 108 | - 'BB' => esc_html__( 'Barbados', 'give' ), |
|
| 109 | - 'BY' => esc_html__( 'Belarus', 'give' ), |
|
| 110 | - 'BE' => esc_html__( 'Belgium', 'give' ), |
|
| 111 | - 'BZ' => esc_html__( 'Belize', 'give' ), |
|
| 112 | - 'BJ' => esc_html__( 'Benin', 'give' ), |
|
| 113 | - 'BM' => esc_html__( 'Bermuda', 'give' ), |
|
| 114 | - 'BT' => esc_html__( 'Bhutan', 'give' ), |
|
| 115 | - 'BO' => esc_html__( 'Bolivia', 'give' ), |
|
| 116 | - 'BA' => esc_html__( 'Bosnia and Herzegovina', 'give' ), |
|
| 117 | - 'BW' => esc_html__( 'Botswana', 'give' ), |
|
| 118 | - 'BV' => esc_html__( 'Bouvet Island', 'give' ), |
|
| 119 | - 'BR' => esc_html__( 'Brazil', 'give' ), |
|
| 120 | - 'IO' => esc_html__( 'British Indian Ocean Territory', 'give' ), |
|
| 121 | - 'BN' => esc_html__( 'Brunei Darrussalam', 'give' ), |
|
| 122 | - 'BG' => esc_html__( 'Bulgaria', 'give' ), |
|
| 123 | - 'BF' => esc_html__( 'Burkina Faso', 'give' ), |
|
| 124 | - 'BI' => esc_html__( 'Burundi', 'give' ), |
|
| 125 | - 'KH' => esc_html__( 'Cambodia', 'give' ), |
|
| 126 | - 'CM' => esc_html__( 'Cameroon', 'give' ), |
|
| 127 | - 'CV' => esc_html__( 'Cape Verde', 'give' ), |
|
| 128 | - 'KY' => esc_html__( 'Cayman Islands', 'give' ), |
|
| 129 | - 'CF' => esc_html__( 'Central African Republic', 'give' ), |
|
| 130 | - 'TD' => esc_html__( 'Chad', 'give' ), |
|
| 131 | - 'CL' => esc_html__( 'Chile', 'give' ), |
|
| 132 | - 'CN' => esc_html__( 'China', 'give' ), |
|
| 133 | - 'CX' => esc_html__( 'Christmas Island', 'give' ), |
|
| 134 | - 'CC' => esc_html__( 'Cocos Islands', 'give' ), |
|
| 135 | - 'CO' => esc_html__( 'Colombia', 'give' ), |
|
| 136 | - 'KM' => esc_html__( 'Comoros', 'give' ), |
|
| 137 | - 'CD' => esc_html__( 'Congo, Democratic People\'s Republic', 'give' ), |
|
| 138 | - 'CG' => esc_html__( 'Congo, Republic of', 'give' ), |
|
| 139 | - 'CK' => esc_html__( 'Cook Islands', 'give' ), |
|
| 140 | - 'CR' => esc_html__( 'Costa Rica', 'give' ), |
|
| 141 | - 'CI' => esc_html__( 'Cote d\'Ivoire', 'give' ), |
|
| 142 | - 'HR' => esc_html__( 'Croatia/Hrvatska', 'give' ), |
|
| 143 | - 'CU' => esc_html__( 'Cuba', 'give' ), |
|
| 144 | - 'CY' => esc_html__( 'Cyprus Island', 'give' ), |
|
| 145 | - 'CZ' => esc_html__( 'Czech Republic', 'give' ), |
|
| 146 | - 'DK' => esc_html__( 'Denmark', 'give' ), |
|
| 147 | - 'DJ' => esc_html__( 'Djibouti', 'give' ), |
|
| 148 | - 'DM' => esc_html__( 'Dominica', 'give' ), |
|
| 149 | - 'DO' => esc_html__( 'Dominican Republic', 'give' ), |
|
| 150 | - 'TP' => esc_html__( 'East Timor', 'give' ), |
|
| 151 | - 'EC' => esc_html__( 'Ecuador', 'give' ), |
|
| 152 | - 'EG' => esc_html__( 'Egypt', 'give' ), |
|
| 153 | - 'GQ' => esc_html__( 'Equatorial Guinea', 'give' ), |
|
| 154 | - 'SV' => esc_html__( 'El Salvador', 'give' ), |
|
| 155 | - 'ER' => esc_html__( 'Eritrea', 'give' ), |
|
| 156 | - 'EE' => esc_html__( 'Estonia', 'give' ), |
|
| 157 | - 'ET' => esc_html__( 'Ethiopia', 'give' ), |
|
| 158 | - 'FK' => esc_html__( 'Falkland Islands', 'give' ), |
|
| 159 | - 'FO' => esc_html__( 'Faroe Islands', 'give' ), |
|
| 160 | - 'FJ' => esc_html__( 'Fiji', 'give' ), |
|
| 161 | - 'FI' => esc_html__( 'Finland', 'give' ), |
|
| 162 | - 'FR' => esc_html__( 'France', 'give' ), |
|
| 163 | - 'GF' => esc_html__( 'French Guiana', 'give' ), |
|
| 164 | - 'PF' => esc_html__( 'French Polynesia', 'give' ), |
|
| 165 | - 'TF' => esc_html__( 'French Southern Territories', 'give' ), |
|
| 166 | - 'GA' => esc_html__( 'Gabon', 'give' ), |
|
| 167 | - 'GM' => esc_html__( 'Gambia', 'give' ), |
|
| 168 | - 'GE' => esc_html__( 'Georgia', 'give' ), |
|
| 169 | - 'DE' => esc_html__( 'Germany', 'give' ), |
|
| 170 | - 'GR' => esc_html__( 'Greece', 'give' ), |
|
| 171 | - 'GH' => esc_html__( 'Ghana', 'give' ), |
|
| 172 | - 'GI' => esc_html__( 'Gibraltar', 'give' ), |
|
| 173 | - 'GL' => esc_html__( 'Greenland', 'give' ), |
|
| 174 | - 'GD' => esc_html__( 'Grenada', 'give' ), |
|
| 175 | - 'GP' => esc_html__( 'Guadeloupe', 'give' ), |
|
| 176 | - 'GU' => esc_html__( 'Guam', 'give' ), |
|
| 177 | - 'GT' => esc_html__( 'Guatemala', 'give' ), |
|
| 178 | - 'GG' => esc_html__( 'Guernsey', 'give' ), |
|
| 179 | - 'GN' => esc_html__( 'Guinea', 'give' ), |
|
| 180 | - 'GW' => esc_html__( 'Guinea-Bissau', 'give' ), |
|
| 181 | - 'GY' => esc_html__( 'Guyana', 'give' ), |
|
| 182 | - 'HT' => esc_html__( 'Haiti', 'give' ), |
|
| 183 | - 'HM' => esc_html__( 'Heard and McDonald Islands', 'give' ), |
|
| 184 | - 'VA' => esc_html__( 'Holy See (City Vatican State)', 'give' ), |
|
| 185 | - 'HN' => esc_html__( 'Honduras', 'give' ), |
|
| 186 | - 'HK' => esc_html__( 'Hong Kong', 'give' ), |
|
| 187 | - 'HU' => esc_html__( 'Hungary', 'give' ), |
|
| 188 | - 'IS' => esc_html__( 'Iceland', 'give' ), |
|
| 189 | - 'IN' => esc_html__( 'India', 'give' ), |
|
| 190 | - 'ID' => esc_html__( 'Indonesia', 'give' ), |
|
| 191 | - 'IR' => esc_html__( 'Iran', 'give' ), |
|
| 192 | - 'IQ' => esc_html__( 'Iraq', 'give' ), |
|
| 193 | - 'IE' => esc_html__( 'Ireland', 'give' ), |
|
| 194 | - 'IM' => esc_html__( 'Isle of Man', 'give' ), |
|
| 195 | - 'IL' => esc_html__( 'Israel', 'give' ), |
|
| 196 | - 'IT' => esc_html__( 'Italy', 'give' ), |
|
| 197 | - 'JM' => esc_html__( 'Jamaica', 'give' ), |
|
| 198 | - 'JP' => esc_html__( 'Japan', 'give' ), |
|
| 199 | - 'JE' => esc_html__( 'Jersey', 'give' ), |
|
| 200 | - 'JO' => esc_html__( 'Jordan', 'give' ), |
|
| 201 | - 'KZ' => esc_html__( 'Kazakhstan', 'give' ), |
|
| 202 | - 'KE' => esc_html__( 'Kenya', 'give' ), |
|
| 203 | - 'KI' => esc_html__( 'Kiribati', 'give' ), |
|
| 204 | - 'KW' => esc_html__( 'Kuwait', 'give' ), |
|
| 205 | - 'KG' => esc_html__( 'Kyrgyzstan', 'give' ), |
|
| 206 | - 'LA' => esc_html__( 'Lao People\'s Democratic Republic', 'give' ), |
|
| 207 | - 'LV' => esc_html__( 'Latvia', 'give' ), |
|
| 208 | - 'LB' => esc_html__( 'Lebanon', 'give' ), |
|
| 209 | - 'LS' => esc_html__( 'Lesotho', 'give' ), |
|
| 210 | - 'LR' => esc_html__( 'Liberia', 'give' ), |
|
| 211 | - 'LY' => esc_html__( 'Libyan Arab Jamahiriya', 'give' ), |
|
| 212 | - 'LI' => esc_html__( 'Liechtenstein', 'give' ), |
|
| 213 | - 'LT' => esc_html__( 'Lithuania', 'give' ), |
|
| 214 | - 'LU' => esc_html__( 'Luxembourg', 'give' ), |
|
| 215 | - 'MO' => esc_html__( 'Macau', 'give' ), |
|
| 216 | - 'MK' => esc_html__( 'Macedonia', 'give' ), |
|
| 217 | - 'MG' => esc_html__( 'Madagascar', 'give' ), |
|
| 218 | - 'MW' => esc_html__( 'Malawi', 'give' ), |
|
| 219 | - 'MY' => esc_html__( 'Malaysia', 'give' ), |
|
| 220 | - 'MV' => esc_html__( 'Maldives', 'give' ), |
|
| 221 | - 'ML' => esc_html__( 'Mali', 'give' ), |
|
| 222 | - 'MT' => esc_html__( 'Malta', 'give' ), |
|
| 223 | - 'MH' => esc_html__( 'Marshall Islands', 'give' ), |
|
| 224 | - 'MQ' => esc_html__( 'Martinique', 'give' ), |
|
| 225 | - 'MR' => esc_html__( 'Mauritania', 'give' ), |
|
| 226 | - 'MU' => esc_html__( 'Mauritius', 'give' ), |
|
| 227 | - 'YT' => esc_html__( 'Mayotte', 'give' ), |
|
| 228 | - 'MX' => esc_html__( 'Mexico', 'give' ), |
|
| 229 | - 'FM' => esc_html__( 'Micronesia', 'give' ), |
|
| 230 | - 'MD' => esc_html__( 'Moldova, Republic of', 'give' ), |
|
| 231 | - 'MC' => esc_html__( 'Monaco', 'give' ), |
|
| 232 | - 'MN' => esc_html__( 'Mongolia', 'give' ), |
|
| 233 | - 'ME' => esc_html__( 'Montenegro', 'give' ), |
|
| 234 | - 'MS' => esc_html__( 'Montserrat', 'give' ), |
|
| 235 | - 'MA' => esc_html__( 'Morocco', 'give' ), |
|
| 236 | - 'MZ' => esc_html__( 'Mozambique', 'give' ), |
|
| 237 | - 'MM' => esc_html__( 'Myanmar', 'give' ), |
|
| 238 | - 'NA' => esc_html__( 'Namibia', 'give' ), |
|
| 239 | - 'NR' => esc_html__( 'Nauru', 'give' ), |
|
| 240 | - 'NP' => esc_html__( 'Nepal', 'give' ), |
|
| 241 | - 'NL' => esc_html__( 'Netherlands', 'give' ), |
|
| 242 | - 'AN' => esc_html__( 'Netherlands Antilles', 'give' ), |
|
| 243 | - 'NC' => esc_html__( 'New Caledonia', 'give' ), |
|
| 244 | - 'NZ' => esc_html__( 'New Zealand', 'give' ), |
|
| 245 | - 'NI' => esc_html__( 'Nicaragua', 'give' ), |
|
| 246 | - 'NE' => esc_html__( 'Niger', 'give' ), |
|
| 247 | - 'NG' => esc_html__( 'Nigeria', 'give' ), |
|
| 248 | - 'NU' => esc_html__( 'Niue', 'give' ), |
|
| 249 | - 'NF' => esc_html__( 'Norfolk Island', 'give' ), |
|
| 250 | - 'KP' => esc_html__( 'North Korea', 'give' ), |
|
| 251 | - 'MP' => esc_html__( 'Northern Mariana Islands', 'give' ), |
|
| 252 | - 'NO' => esc_html__( 'Norway', 'give' ), |
|
| 253 | - 'OM' => esc_html__( 'Oman', 'give' ), |
|
| 254 | - 'PK' => esc_html__( 'Pakistan', 'give' ), |
|
| 255 | - 'PW' => esc_html__( 'Palau', 'give' ), |
|
| 256 | - 'PS' => esc_html__( 'Palestinian Territories', 'give' ), |
|
| 257 | - 'PA' => esc_html__( 'Panama', 'give' ), |
|
| 258 | - 'PG' => esc_html__( 'Papua New Guinea', 'give' ), |
|
| 259 | - 'PY' => esc_html__( 'Paraguay', 'give' ), |
|
| 260 | - 'PE' => esc_html__( 'Peru', 'give' ), |
|
| 261 | - 'PH' => esc_html__( 'Philippines', 'give' ), |
|
| 262 | - 'PN' => esc_html__( 'Pitcairn Island', 'give' ), |
|
| 263 | - 'PL' => esc_html__( 'Poland', 'give' ), |
|
| 264 | - 'PT' => esc_html__( 'Portugal', 'give' ), |
|
| 265 | - 'PR' => esc_html__( 'Puerto Rico', 'give' ), |
|
| 266 | - 'QA' => esc_html__( 'Qatar', 'give' ), |
|
| 267 | - 'RE' => esc_html__( 'Reunion Island', 'give' ), |
|
| 268 | - 'RO' => esc_html__( 'Romania', 'give' ), |
|
| 269 | - 'RU' => esc_html__( 'Russian Federation', 'give' ), |
|
| 270 | - 'RW' => esc_html__( 'Rwanda', 'give' ), |
|
| 271 | - 'SH' => esc_html__( 'Saint Helena', 'give' ), |
|
| 272 | - 'KN' => esc_html__( 'Saint Kitts and Nevis', 'give' ), |
|
| 273 | - 'LC' => esc_html__( 'Saint Lucia', 'give' ), |
|
| 274 | - 'PM' => esc_html__( 'Saint Pierre and Miquelon', 'give' ), |
|
| 275 | - 'VC' => esc_html__( 'Saint Vincent and the Grenadines', 'give' ), |
|
| 276 | - 'SM' => esc_html__( 'San Marino', 'give' ), |
|
| 277 | - 'ST' => esc_html__( 'Sao Tome and Principe', 'give' ), |
|
| 278 | - 'SA' => esc_html__( 'Saudi Arabia', 'give' ), |
|
| 279 | - 'SN' => esc_html__( 'Senegal', 'give' ), |
|
| 280 | - 'RS' => esc_html__( 'Serbia', 'give' ), |
|
| 281 | - 'SC' => esc_html__( 'Seychelles', 'give' ), |
|
| 282 | - 'SL' => esc_html__( 'Sierra Leone', 'give' ), |
|
| 283 | - 'SG' => esc_html__( 'Singapore', 'give' ), |
|
| 284 | - 'SK' => esc_html__( 'Slovak Republic', 'give' ), |
|
| 285 | - 'SI' => esc_html__( 'Slovenia', 'give' ), |
|
| 286 | - 'SB' => esc_html__( 'Solomon Islands', 'give' ), |
|
| 287 | - 'SO' => esc_html__( 'Somalia', 'give' ), |
|
| 288 | - 'ZA' => esc_html__( 'South Africa', 'give' ), |
|
| 289 | - 'GS' => esc_html__( 'South Georgia', 'give' ), |
|
| 290 | - 'KR' => esc_html__( 'South Korea', 'give' ), |
|
| 291 | - 'ES' => esc_html__( 'Spain', 'give' ), |
|
| 292 | - 'LK' => esc_html__( 'Sri Lanka', 'give' ), |
|
| 293 | - 'SD' => esc_html__( 'Sudan', 'give' ), |
|
| 294 | - 'SR' => esc_html__( 'Suriname', 'give' ), |
|
| 295 | - 'SJ' => esc_html__( 'Svalbard and Jan Mayen Islands', 'give' ), |
|
| 296 | - 'SZ' => esc_html__( 'Swaziland', 'give' ), |
|
| 297 | - 'SE' => esc_html__( 'Sweden', 'give' ), |
|
| 298 | - 'CH' => esc_html__( 'Switzerland', 'give' ), |
|
| 299 | - 'SY' => esc_html__( 'Syrian Arab Republic', 'give' ), |
|
| 300 | - 'TW' => esc_html__( 'Taiwan', 'give' ), |
|
| 301 | - 'TJ' => esc_html__( 'Tajikistan', 'give' ), |
|
| 302 | - 'TZ' => esc_html__( 'Tanzania', 'give' ), |
|
| 303 | - 'TG' => esc_html__( 'Togo', 'give' ), |
|
| 304 | - 'TK' => esc_html__( 'Tokelau', 'give' ), |
|
| 305 | - 'TO' => esc_html__( 'Tonga', 'give' ), |
|
| 306 | - 'TH' => esc_html__( 'Thailand', 'give' ), |
|
| 307 | - 'TT' => esc_html__( 'Trinidad and Tobago', 'give' ), |
|
| 308 | - 'TN' => esc_html__( 'Tunisia', 'give' ), |
|
| 309 | - 'TR' => esc_html__( 'Turkey', 'give' ), |
|
| 310 | - 'TM' => esc_html__( 'Turkmenistan', 'give' ), |
|
| 311 | - 'TC' => esc_html__( 'Turks and Caicos Islands', 'give' ), |
|
| 312 | - 'TV' => esc_html__( 'Tuvalu', 'give' ), |
|
| 313 | - 'UG' => esc_html__( 'Uganda', 'give' ), |
|
| 314 | - 'UA' => esc_html__( 'Ukraine', 'give' ), |
|
| 315 | - 'AE' => esc_html__( 'United Arab Emirates', 'give' ), |
|
| 316 | - 'UY' => esc_html__( 'Uruguay', 'give' ), |
|
| 317 | - 'UM' => esc_html__( 'US Minor Outlying Islands', 'give' ), |
|
| 318 | - 'UZ' => esc_html__( 'Uzbekistan', 'give' ), |
|
| 319 | - 'VU' => esc_html__( 'Vanuatu', 'give' ), |
|
| 320 | - 'VE' => esc_html__( 'Venezuela', 'give' ), |
|
| 321 | - 'VN' => esc_html__( 'Vietnam', 'give' ), |
|
| 322 | - 'VG' => esc_html__( 'Virgin Islands (British)', 'give' ), |
|
| 323 | - 'VI' => esc_html__( 'Virgin Islands (USA)', 'give' ), |
|
| 324 | - 'WF' => esc_html__( 'Wallis and Futuna Islands', 'give' ), |
|
| 325 | - 'EH' => esc_html__( 'Western Sahara', 'give' ), |
|
| 326 | - 'WS' => esc_html__( 'Western Samoa', 'give' ), |
|
| 327 | - 'YE' => esc_html__( 'Yemen', 'give' ), |
|
| 328 | - 'YU' => esc_html__( 'Yugoslavia', 'give' ), |
|
| 329 | - 'ZM' => esc_html__( 'Zambia', 'give' ), |
|
| 330 | - 'ZW' => esc_html__( 'Zimbabwe', 'give' ), |
|
| 87 | + 'US' => esc_html__('United States', 'give'), |
|
| 88 | + 'CA' => esc_html__('Canada', 'give'), |
|
| 89 | + 'GB' => esc_html__('United Kingdom', 'give'), |
|
| 90 | + 'AF' => esc_html__('Afghanistan', 'give'), |
|
| 91 | + 'AL' => esc_html__('Albania', 'give'), |
|
| 92 | + 'DZ' => esc_html__('Algeria', 'give'), |
|
| 93 | + 'AS' => esc_html__('American Samoa', 'give'), |
|
| 94 | + 'AD' => esc_html__('Andorra', 'give'), |
|
| 95 | + 'AO' => esc_html__('Angola', 'give'), |
|
| 96 | + 'AI' => esc_html__('Anguilla', 'give'), |
|
| 97 | + 'AQ' => esc_html__('Antarctica', 'give'), |
|
| 98 | + 'AG' => esc_html__('Antigua and Barbuda', 'give'), |
|
| 99 | + 'AR' => esc_html__('Argentina', 'give'), |
|
| 100 | + 'AM' => esc_html__('Armenia', 'give'), |
|
| 101 | + 'AW' => esc_html__('Aruba', 'give'), |
|
| 102 | + 'AU' => esc_html__('Australia', 'give'), |
|
| 103 | + 'AT' => esc_html__('Austria', 'give'), |
|
| 104 | + 'AZ' => esc_html__('Azerbaijan', 'give'), |
|
| 105 | + 'BS' => esc_html__('Bahamas', 'give'), |
|
| 106 | + 'BH' => esc_html__('Bahrain', 'give'), |
|
| 107 | + 'BD' => esc_html__('Bangladesh', 'give'), |
|
| 108 | + 'BB' => esc_html__('Barbados', 'give'), |
|
| 109 | + 'BY' => esc_html__('Belarus', 'give'), |
|
| 110 | + 'BE' => esc_html__('Belgium', 'give'), |
|
| 111 | + 'BZ' => esc_html__('Belize', 'give'), |
|
| 112 | + 'BJ' => esc_html__('Benin', 'give'), |
|
| 113 | + 'BM' => esc_html__('Bermuda', 'give'), |
|
| 114 | + 'BT' => esc_html__('Bhutan', 'give'), |
|
| 115 | + 'BO' => esc_html__('Bolivia', 'give'), |
|
| 116 | + 'BA' => esc_html__('Bosnia and Herzegovina', 'give'), |
|
| 117 | + 'BW' => esc_html__('Botswana', 'give'), |
|
| 118 | + 'BV' => esc_html__('Bouvet Island', 'give'), |
|
| 119 | + 'BR' => esc_html__('Brazil', 'give'), |
|
| 120 | + 'IO' => esc_html__('British Indian Ocean Territory', 'give'), |
|
| 121 | + 'BN' => esc_html__('Brunei Darrussalam', 'give'), |
|
| 122 | + 'BG' => esc_html__('Bulgaria', 'give'), |
|
| 123 | + 'BF' => esc_html__('Burkina Faso', 'give'), |
|
| 124 | + 'BI' => esc_html__('Burundi', 'give'), |
|
| 125 | + 'KH' => esc_html__('Cambodia', 'give'), |
|
| 126 | + 'CM' => esc_html__('Cameroon', 'give'), |
|
| 127 | + 'CV' => esc_html__('Cape Verde', 'give'), |
|
| 128 | + 'KY' => esc_html__('Cayman Islands', 'give'), |
|
| 129 | + 'CF' => esc_html__('Central African Republic', 'give'), |
|
| 130 | + 'TD' => esc_html__('Chad', 'give'), |
|
| 131 | + 'CL' => esc_html__('Chile', 'give'), |
|
| 132 | + 'CN' => esc_html__('China', 'give'), |
|
| 133 | + 'CX' => esc_html__('Christmas Island', 'give'), |
|
| 134 | + 'CC' => esc_html__('Cocos Islands', 'give'), |
|
| 135 | + 'CO' => esc_html__('Colombia', 'give'), |
|
| 136 | + 'KM' => esc_html__('Comoros', 'give'), |
|
| 137 | + 'CD' => esc_html__('Congo, Democratic People\'s Republic', 'give'), |
|
| 138 | + 'CG' => esc_html__('Congo, Republic of', 'give'), |
|
| 139 | + 'CK' => esc_html__('Cook Islands', 'give'), |
|
| 140 | + 'CR' => esc_html__('Costa Rica', 'give'), |
|
| 141 | + 'CI' => esc_html__('Cote d\'Ivoire', 'give'), |
|
| 142 | + 'HR' => esc_html__('Croatia/Hrvatska', 'give'), |
|
| 143 | + 'CU' => esc_html__('Cuba', 'give'), |
|
| 144 | + 'CY' => esc_html__('Cyprus Island', 'give'), |
|
| 145 | + 'CZ' => esc_html__('Czech Republic', 'give'), |
|
| 146 | + 'DK' => esc_html__('Denmark', 'give'), |
|
| 147 | + 'DJ' => esc_html__('Djibouti', 'give'), |
|
| 148 | + 'DM' => esc_html__('Dominica', 'give'), |
|
| 149 | + 'DO' => esc_html__('Dominican Republic', 'give'), |
|
| 150 | + 'TP' => esc_html__('East Timor', 'give'), |
|
| 151 | + 'EC' => esc_html__('Ecuador', 'give'), |
|
| 152 | + 'EG' => esc_html__('Egypt', 'give'), |
|
| 153 | + 'GQ' => esc_html__('Equatorial Guinea', 'give'), |
|
| 154 | + 'SV' => esc_html__('El Salvador', 'give'), |
|
| 155 | + 'ER' => esc_html__('Eritrea', 'give'), |
|
| 156 | + 'EE' => esc_html__('Estonia', 'give'), |
|
| 157 | + 'ET' => esc_html__('Ethiopia', 'give'), |
|
| 158 | + 'FK' => esc_html__('Falkland Islands', 'give'), |
|
| 159 | + 'FO' => esc_html__('Faroe Islands', 'give'), |
|
| 160 | + 'FJ' => esc_html__('Fiji', 'give'), |
|
| 161 | + 'FI' => esc_html__('Finland', 'give'), |
|
| 162 | + 'FR' => esc_html__('France', 'give'), |
|
| 163 | + 'GF' => esc_html__('French Guiana', 'give'), |
|
| 164 | + 'PF' => esc_html__('French Polynesia', 'give'), |
|
| 165 | + 'TF' => esc_html__('French Southern Territories', 'give'), |
|
| 166 | + 'GA' => esc_html__('Gabon', 'give'), |
|
| 167 | + 'GM' => esc_html__('Gambia', 'give'), |
|
| 168 | + 'GE' => esc_html__('Georgia', 'give'), |
|
| 169 | + 'DE' => esc_html__('Germany', 'give'), |
|
| 170 | + 'GR' => esc_html__('Greece', 'give'), |
|
| 171 | + 'GH' => esc_html__('Ghana', 'give'), |
|
| 172 | + 'GI' => esc_html__('Gibraltar', 'give'), |
|
| 173 | + 'GL' => esc_html__('Greenland', 'give'), |
|
| 174 | + 'GD' => esc_html__('Grenada', 'give'), |
|
| 175 | + 'GP' => esc_html__('Guadeloupe', 'give'), |
|
| 176 | + 'GU' => esc_html__('Guam', 'give'), |
|
| 177 | + 'GT' => esc_html__('Guatemala', 'give'), |
|
| 178 | + 'GG' => esc_html__('Guernsey', 'give'), |
|
| 179 | + 'GN' => esc_html__('Guinea', 'give'), |
|
| 180 | + 'GW' => esc_html__('Guinea-Bissau', 'give'), |
|
| 181 | + 'GY' => esc_html__('Guyana', 'give'), |
|
| 182 | + 'HT' => esc_html__('Haiti', 'give'), |
|
| 183 | + 'HM' => esc_html__('Heard and McDonald Islands', 'give'), |
|
| 184 | + 'VA' => esc_html__('Holy See (City Vatican State)', 'give'), |
|
| 185 | + 'HN' => esc_html__('Honduras', 'give'), |
|
| 186 | + 'HK' => esc_html__('Hong Kong', 'give'), |
|
| 187 | + 'HU' => esc_html__('Hungary', 'give'), |
|
| 188 | + 'IS' => esc_html__('Iceland', 'give'), |
|
| 189 | + 'IN' => esc_html__('India', 'give'), |
|
| 190 | + 'ID' => esc_html__('Indonesia', 'give'), |
|
| 191 | + 'IR' => esc_html__('Iran', 'give'), |
|
| 192 | + 'IQ' => esc_html__('Iraq', 'give'), |
|
| 193 | + 'IE' => esc_html__('Ireland', 'give'), |
|
| 194 | + 'IM' => esc_html__('Isle of Man', 'give'), |
|
| 195 | + 'IL' => esc_html__('Israel', 'give'), |
|
| 196 | + 'IT' => esc_html__('Italy', 'give'), |
|
| 197 | + 'JM' => esc_html__('Jamaica', 'give'), |
|
| 198 | + 'JP' => esc_html__('Japan', 'give'), |
|
| 199 | + 'JE' => esc_html__('Jersey', 'give'), |
|
| 200 | + 'JO' => esc_html__('Jordan', 'give'), |
|
| 201 | + 'KZ' => esc_html__('Kazakhstan', 'give'), |
|
| 202 | + 'KE' => esc_html__('Kenya', 'give'), |
|
| 203 | + 'KI' => esc_html__('Kiribati', 'give'), |
|
| 204 | + 'KW' => esc_html__('Kuwait', 'give'), |
|
| 205 | + 'KG' => esc_html__('Kyrgyzstan', 'give'), |
|
| 206 | + 'LA' => esc_html__('Lao People\'s Democratic Republic', 'give'), |
|
| 207 | + 'LV' => esc_html__('Latvia', 'give'), |
|
| 208 | + 'LB' => esc_html__('Lebanon', 'give'), |
|
| 209 | + 'LS' => esc_html__('Lesotho', 'give'), |
|
| 210 | + 'LR' => esc_html__('Liberia', 'give'), |
|
| 211 | + 'LY' => esc_html__('Libyan Arab Jamahiriya', 'give'), |
|
| 212 | + 'LI' => esc_html__('Liechtenstein', 'give'), |
|
| 213 | + 'LT' => esc_html__('Lithuania', 'give'), |
|
| 214 | + 'LU' => esc_html__('Luxembourg', 'give'), |
|
| 215 | + 'MO' => esc_html__('Macau', 'give'), |
|
| 216 | + 'MK' => esc_html__('Macedonia', 'give'), |
|
| 217 | + 'MG' => esc_html__('Madagascar', 'give'), |
|
| 218 | + 'MW' => esc_html__('Malawi', 'give'), |
|
| 219 | + 'MY' => esc_html__('Malaysia', 'give'), |
|
| 220 | + 'MV' => esc_html__('Maldives', 'give'), |
|
| 221 | + 'ML' => esc_html__('Mali', 'give'), |
|
| 222 | + 'MT' => esc_html__('Malta', 'give'), |
|
| 223 | + 'MH' => esc_html__('Marshall Islands', 'give'), |
|
| 224 | + 'MQ' => esc_html__('Martinique', 'give'), |
|
| 225 | + 'MR' => esc_html__('Mauritania', 'give'), |
|
| 226 | + 'MU' => esc_html__('Mauritius', 'give'), |
|
| 227 | + 'YT' => esc_html__('Mayotte', 'give'), |
|
| 228 | + 'MX' => esc_html__('Mexico', 'give'), |
|
| 229 | + 'FM' => esc_html__('Micronesia', 'give'), |
|
| 230 | + 'MD' => esc_html__('Moldova, Republic of', 'give'), |
|
| 231 | + 'MC' => esc_html__('Monaco', 'give'), |
|
| 232 | + 'MN' => esc_html__('Mongolia', 'give'), |
|
| 233 | + 'ME' => esc_html__('Montenegro', 'give'), |
|
| 234 | + 'MS' => esc_html__('Montserrat', 'give'), |
|
| 235 | + 'MA' => esc_html__('Morocco', 'give'), |
|
| 236 | + 'MZ' => esc_html__('Mozambique', 'give'), |
|
| 237 | + 'MM' => esc_html__('Myanmar', 'give'), |
|
| 238 | + 'NA' => esc_html__('Namibia', 'give'), |
|
| 239 | + 'NR' => esc_html__('Nauru', 'give'), |
|
| 240 | + 'NP' => esc_html__('Nepal', 'give'), |
|
| 241 | + 'NL' => esc_html__('Netherlands', 'give'), |
|
| 242 | + 'AN' => esc_html__('Netherlands Antilles', 'give'), |
|
| 243 | + 'NC' => esc_html__('New Caledonia', 'give'), |
|
| 244 | + 'NZ' => esc_html__('New Zealand', 'give'), |
|
| 245 | + 'NI' => esc_html__('Nicaragua', 'give'), |
|
| 246 | + 'NE' => esc_html__('Niger', 'give'), |
|
| 247 | + 'NG' => esc_html__('Nigeria', 'give'), |
|
| 248 | + 'NU' => esc_html__('Niue', 'give'), |
|
| 249 | + 'NF' => esc_html__('Norfolk Island', 'give'), |
|
| 250 | + 'KP' => esc_html__('North Korea', 'give'), |
|
| 251 | + 'MP' => esc_html__('Northern Mariana Islands', 'give'), |
|
| 252 | + 'NO' => esc_html__('Norway', 'give'), |
|
| 253 | + 'OM' => esc_html__('Oman', 'give'), |
|
| 254 | + 'PK' => esc_html__('Pakistan', 'give'), |
|
| 255 | + 'PW' => esc_html__('Palau', 'give'), |
|
| 256 | + 'PS' => esc_html__('Palestinian Territories', 'give'), |
|
| 257 | + 'PA' => esc_html__('Panama', 'give'), |
|
| 258 | + 'PG' => esc_html__('Papua New Guinea', 'give'), |
|
| 259 | + 'PY' => esc_html__('Paraguay', 'give'), |
|
| 260 | + 'PE' => esc_html__('Peru', 'give'), |
|
| 261 | + 'PH' => esc_html__('Philippines', 'give'), |
|
| 262 | + 'PN' => esc_html__('Pitcairn Island', 'give'), |
|
| 263 | + 'PL' => esc_html__('Poland', 'give'), |
|
| 264 | + 'PT' => esc_html__('Portugal', 'give'), |
|
| 265 | + 'PR' => esc_html__('Puerto Rico', 'give'), |
|
| 266 | + 'QA' => esc_html__('Qatar', 'give'), |
|
| 267 | + 'RE' => esc_html__('Reunion Island', 'give'), |
|
| 268 | + 'RO' => esc_html__('Romania', 'give'), |
|
| 269 | + 'RU' => esc_html__('Russian Federation', 'give'), |
|
| 270 | + 'RW' => esc_html__('Rwanda', 'give'), |
|
| 271 | + 'SH' => esc_html__('Saint Helena', 'give'), |
|
| 272 | + 'KN' => esc_html__('Saint Kitts and Nevis', 'give'), |
|
| 273 | + 'LC' => esc_html__('Saint Lucia', 'give'), |
|
| 274 | + 'PM' => esc_html__('Saint Pierre and Miquelon', 'give'), |
|
| 275 | + 'VC' => esc_html__('Saint Vincent and the Grenadines', 'give'), |
|
| 276 | + 'SM' => esc_html__('San Marino', 'give'), |
|
| 277 | + 'ST' => esc_html__('Sao Tome and Principe', 'give'), |
|
| 278 | + 'SA' => esc_html__('Saudi Arabia', 'give'), |
|
| 279 | + 'SN' => esc_html__('Senegal', 'give'), |
|
| 280 | + 'RS' => esc_html__('Serbia', 'give'), |
|
| 281 | + 'SC' => esc_html__('Seychelles', 'give'), |
|
| 282 | + 'SL' => esc_html__('Sierra Leone', 'give'), |
|
| 283 | + 'SG' => esc_html__('Singapore', 'give'), |
|
| 284 | + 'SK' => esc_html__('Slovak Republic', 'give'), |
|
| 285 | + 'SI' => esc_html__('Slovenia', 'give'), |
|
| 286 | + 'SB' => esc_html__('Solomon Islands', 'give'), |
|
| 287 | + 'SO' => esc_html__('Somalia', 'give'), |
|
| 288 | + 'ZA' => esc_html__('South Africa', 'give'), |
|
| 289 | + 'GS' => esc_html__('South Georgia', 'give'), |
|
| 290 | + 'KR' => esc_html__('South Korea', 'give'), |
|
| 291 | + 'ES' => esc_html__('Spain', 'give'), |
|
| 292 | + 'LK' => esc_html__('Sri Lanka', 'give'), |
|
| 293 | + 'SD' => esc_html__('Sudan', 'give'), |
|
| 294 | + 'SR' => esc_html__('Suriname', 'give'), |
|
| 295 | + 'SJ' => esc_html__('Svalbard and Jan Mayen Islands', 'give'), |
|
| 296 | + 'SZ' => esc_html__('Swaziland', 'give'), |
|
| 297 | + 'SE' => esc_html__('Sweden', 'give'), |
|
| 298 | + 'CH' => esc_html__('Switzerland', 'give'), |
|
| 299 | + 'SY' => esc_html__('Syrian Arab Republic', 'give'), |
|
| 300 | + 'TW' => esc_html__('Taiwan', 'give'), |
|
| 301 | + 'TJ' => esc_html__('Tajikistan', 'give'), |
|
| 302 | + 'TZ' => esc_html__('Tanzania', 'give'), |
|
| 303 | + 'TG' => esc_html__('Togo', 'give'), |
|
| 304 | + 'TK' => esc_html__('Tokelau', 'give'), |
|
| 305 | + 'TO' => esc_html__('Tonga', 'give'), |
|
| 306 | + 'TH' => esc_html__('Thailand', 'give'), |
|
| 307 | + 'TT' => esc_html__('Trinidad and Tobago', 'give'), |
|
| 308 | + 'TN' => esc_html__('Tunisia', 'give'), |
|
| 309 | + 'TR' => esc_html__('Turkey', 'give'), |
|
| 310 | + 'TM' => esc_html__('Turkmenistan', 'give'), |
|
| 311 | + 'TC' => esc_html__('Turks and Caicos Islands', 'give'), |
|
| 312 | + 'TV' => esc_html__('Tuvalu', 'give'), |
|
| 313 | + 'UG' => esc_html__('Uganda', 'give'), |
|
| 314 | + 'UA' => esc_html__('Ukraine', 'give'), |
|
| 315 | + 'AE' => esc_html__('United Arab Emirates', 'give'), |
|
| 316 | + 'UY' => esc_html__('Uruguay', 'give'), |
|
| 317 | + 'UM' => esc_html__('US Minor Outlying Islands', 'give'), |
|
| 318 | + 'UZ' => esc_html__('Uzbekistan', 'give'), |
|
| 319 | + 'VU' => esc_html__('Vanuatu', 'give'), |
|
| 320 | + 'VE' => esc_html__('Venezuela', 'give'), |
|
| 321 | + 'VN' => esc_html__('Vietnam', 'give'), |
|
| 322 | + 'VG' => esc_html__('Virgin Islands (British)', 'give'), |
|
| 323 | + 'VI' => esc_html__('Virgin Islands (USA)', 'give'), |
|
| 324 | + 'WF' => esc_html__('Wallis and Futuna Islands', 'give'), |
|
| 325 | + 'EH' => esc_html__('Western Sahara', 'give'), |
|
| 326 | + 'WS' => esc_html__('Western Samoa', 'give'), |
|
| 327 | + 'YE' => esc_html__('Yemen', 'give'), |
|
| 328 | + 'YU' => esc_html__('Yugoslavia', 'give'), |
|
| 329 | + 'ZM' => esc_html__('Zambia', 'give'), |
|
| 330 | + 'ZW' => esc_html__('Zimbabwe', 'give'), |
|
| 331 | 331 | ); |
| 332 | 332 | |
| 333 | - return (array) apply_filters( 'give_countries', $countries ); |
|
| 333 | + return (array) apply_filters('give_countries', $countries); |
|
| 334 | 334 | } |
| 335 | 335 | |
| 336 | 336 | /** |
@@ -384,7 +384,7 @@ discard block |
||
| 384 | 384 | * |
| 385 | 385 | * @param array $states Contain the list of states in array key format where key of the array is there respected country code. |
| 386 | 386 | */ |
| 387 | - return (array) apply_filters( 'give_states_list', $states ); |
|
| 387 | + return (array) apply_filters('give_states_list', $states); |
|
| 388 | 388 | } |
| 389 | 389 | |
| 390 | 390 | /** |
@@ -399,9 +399,9 @@ discard block |
||
| 399 | 399 | function give_no_states_country_list() { |
| 400 | 400 | $country_list = array(); |
| 401 | 401 | $locale = give_get_country_locale(); |
| 402 | - foreach ( $locale as $key => $value ) { |
|
| 403 | - if ( ! empty( $value['state'] ) && isset( $value['state']['hidden'] ) && true === $value['state']['hidden'] ) { |
|
| 404 | - $country_list[ $key ] = $value['state']; |
|
| 402 | + foreach ($locale as $key => $value) { |
|
| 403 | + if ( ! empty($value['state']) && isset($value['state']['hidden']) && true === $value['state']['hidden']) { |
|
| 404 | + $country_list[$key] = $value['state']; |
|
| 405 | 405 | } |
| 406 | 406 | } |
| 407 | 407 | |
@@ -412,7 +412,7 @@ discard block |
||
| 412 | 412 | * |
| 413 | 413 | * @param array $country Contain key as there country code & value as there country name. |
| 414 | 414 | */ |
| 415 | - return (array) apply_filters( 'give_no_states_country_list', $country_list ); |
|
| 415 | + return (array) apply_filters('give_no_states_country_list', $country_list); |
|
| 416 | 416 | } |
| 417 | 417 | |
| 418 | 418 | /** |
@@ -427,9 +427,9 @@ discard block |
||
| 427 | 427 | function give_states_not_required_country_list() { |
| 428 | 428 | $country_list = array(); |
| 429 | 429 | $locale = give_get_country_locale(); |
| 430 | - foreach ( $locale as $key => $value ) { |
|
| 431 | - if ( ! empty( $value['state'] ) && isset( $value['state']['required'] ) && false === $value['state']['required'] ) { |
|
| 432 | - $country_list[ $key ] = $value['state']; |
|
| 430 | + foreach ($locale as $key => $value) { |
|
| 431 | + if ( ! empty($value['state']) && isset($value['state']['required']) && false === $value['state']['required']) { |
|
| 432 | + $country_list[$key] = $value['state']; |
|
| 433 | 433 | } |
| 434 | 434 | } |
| 435 | 435 | |
@@ -440,7 +440,7 @@ discard block |
||
| 440 | 440 | * |
| 441 | 441 | * @param array $country Contain key as there country code & value as there country name. |
| 442 | 442 | */ |
| 443 | - return (array) apply_filters( 'give_states_not_required_country_list', $country_list ); |
|
| 443 | + return (array) apply_filters('give_states_not_required_country_list', $country_list); |
|
| 444 | 444 | } |
| 445 | 445 | |
| 446 | 446 | /** |
@@ -452,11 +452,11 @@ discard block |
||
| 452 | 452 | * |
| 453 | 453 | * @return string|bool |
| 454 | 454 | */ |
| 455 | -function give_get_country_name_by_key( $key ) { |
|
| 455 | +function give_get_country_name_by_key($key) { |
|
| 456 | 456 | $country_list = give_get_country_list(); |
| 457 | 457 | |
| 458 | - if ( array_key_exists( $key, $country_list ) ) { |
|
| 459 | - return $country_list[ $key ]; |
|
| 458 | + if (array_key_exists($key, $country_list)) { |
|
| 459 | + return $country_list[$key]; |
|
| 460 | 460 | } |
| 461 | 461 | |
| 462 | 462 | return false; |
@@ -471,14 +471,14 @@ discard block |
||
| 471 | 471 | */ |
| 472 | 472 | function give_get_states_label() { |
| 473 | 473 | $country_states_label = array(); |
| 474 | - $default_label = __( 'State', 'give' ); |
|
| 474 | + $default_label = __('State', 'give'); |
|
| 475 | 475 | $locale = give_get_country_locale(); |
| 476 | - foreach ( $locale as $key => $value ) { |
|
| 476 | + foreach ($locale as $key => $value) { |
|
| 477 | 477 | $label = $default_label; |
| 478 | - if ( ! empty( $value['state'] ) && ! empty( $value['state']['label'] ) ) { |
|
| 478 | + if ( ! empty($value['state']) && ! empty($value['state']['label'])) { |
|
| 479 | 479 | $label = $value['state']['label']; |
| 480 | 480 | } |
| 481 | - $country_states_label[ $key ] = $label; |
|
| 481 | + $country_states_label[$key] = $label; |
|
| 482 | 482 | } |
| 483 | 483 | |
| 484 | 484 | /** |
@@ -488,7 +488,7 @@ discard block |
||
| 488 | 488 | * |
| 489 | 489 | * @param array $country Contain key as there country code & value as there country name. |
| 490 | 490 | */ |
| 491 | - return (array) apply_filters( 'give_get_states_label', $country_states_label ); |
|
| 491 | + return (array) apply_filters('give_get_states_label', $country_states_label); |
|
| 492 | 492 | } |
| 493 | 493 | |
| 494 | 494 | /** |
@@ -499,7 +499,7 @@ discard block |
||
| 499 | 499 | * @return array |
| 500 | 500 | */ |
| 501 | 501 | function give_get_country_locale() { |
| 502 | - return (array) apply_filters( 'give_get_country_locale', array( |
|
| 502 | + return (array) apply_filters('give_get_country_locale', array( |
|
| 503 | 503 | 'AE' => array( |
| 504 | 504 | 'state' => array( |
| 505 | 505 | 'required' => false, |
@@ -519,7 +519,7 @@ discard block |
||
| 519 | 519 | ), |
| 520 | 520 | 'AU' => array( |
| 521 | 521 | 'state' => array( |
| 522 | - 'label' => __( 'State', 'give' ), |
|
| 522 | + 'label' => __('State', 'give'), |
|
| 523 | 523 | ), |
| 524 | 524 | ), |
| 525 | 525 | 'AX' => array( |
@@ -529,13 +529,13 @@ discard block |
||
| 529 | 529 | ), |
| 530 | 530 | 'BD' => array( |
| 531 | 531 | 'state' => array( |
| 532 | - 'label' => __( 'District', 'give' ), |
|
| 532 | + 'label' => __('District', 'give'), |
|
| 533 | 533 | ), |
| 534 | 534 | ), |
| 535 | 535 | 'BE' => array( |
| 536 | 536 | 'state' => array( |
| 537 | 537 | 'required' => false, |
| 538 | - 'label' => __( 'Province', 'give' ), |
|
| 538 | + 'label' => __('Province', 'give'), |
|
| 539 | 539 | 'hidden' => true, |
| 540 | 540 | ), |
| 541 | 541 | ), |
@@ -546,24 +546,24 @@ discard block |
||
| 546 | 546 | ), |
| 547 | 547 | 'CA' => array( |
| 548 | 548 | 'state' => array( |
| 549 | - 'label' => __( 'Province', 'give' ), |
|
| 549 | + 'label' => __('Province', 'give'), |
|
| 550 | 550 | ), |
| 551 | 551 | ), |
| 552 | 552 | 'CH' => array( |
| 553 | 553 | 'state' => array( |
| 554 | - 'label' => __( 'Canton', 'give' ), |
|
| 554 | + 'label' => __('Canton', 'give'), |
|
| 555 | 555 | 'required' => false, |
| 556 | 556 | 'hidden' => true, |
| 557 | 557 | ), |
| 558 | 558 | ), |
| 559 | 559 | 'CL' => array( |
| 560 | 560 | 'state' => array( |
| 561 | - 'label' => __( 'Region', 'give' ), |
|
| 561 | + 'label' => __('Region', 'give'), |
|
| 562 | 562 | ), |
| 563 | 563 | ), |
| 564 | 564 | 'CN' => array( |
| 565 | 565 | 'state' => array( |
| 566 | - 'label' => __( 'Province', 'give' ), |
|
| 566 | + 'label' => __('Province', 'give'), |
|
| 567 | 567 | ), |
| 568 | 568 | ), |
| 569 | 569 | 'CZ' => array( |
@@ -614,23 +614,23 @@ discard block |
||
| 614 | 614 | ), |
| 615 | 615 | 'HK' => array( |
| 616 | 616 | 'state' => array( |
| 617 | - 'label' => __( 'Region', 'give' ), |
|
| 617 | + 'label' => __('Region', 'give'), |
|
| 618 | 618 | ), |
| 619 | 619 | ), |
| 620 | 620 | 'HU' => array( |
| 621 | 621 | 'state' => array( |
| 622 | - 'label' => __( 'County', 'give' ), |
|
| 622 | + 'label' => __('County', 'give'), |
|
| 623 | 623 | 'hidden' => true, |
| 624 | 624 | ), |
| 625 | 625 | ), |
| 626 | 626 | 'ID' => array( |
| 627 | 627 | 'state' => array( |
| 628 | - 'label' => __( 'Province', 'give' ), |
|
| 628 | + 'label' => __('Province', 'give'), |
|
| 629 | 629 | ), |
| 630 | 630 | ), |
| 631 | 631 | 'IE' => array( |
| 632 | 632 | 'state' => array( |
| 633 | - 'label' => __( 'County', 'give' ), |
|
| 633 | + 'label' => __('County', 'give'), |
|
| 634 | 634 | ), |
| 635 | 635 | ), |
| 636 | 636 | 'IS' => array( |
@@ -647,12 +647,12 @@ discard block |
||
| 647 | 647 | 'IT' => array( |
| 648 | 648 | 'state' => array( |
| 649 | 649 | 'required' => true, |
| 650 | - 'label' => __( 'Province', 'give' ), |
|
| 650 | + 'label' => __('Province', 'give'), |
|
| 651 | 651 | ), |
| 652 | 652 | ), |
| 653 | 653 | 'JP' => array( |
| 654 | 654 | 'state' => array( |
| 655 | - 'label' => __( 'Prefecture', 'give' ), |
|
| 655 | + 'label' => __('Prefecture', 'give'), |
|
| 656 | 656 | ), |
| 657 | 657 | ), |
| 658 | 658 | 'KR' => array( |
@@ -678,13 +678,13 @@ discard block |
||
| 678 | 678 | 'NL' => array( |
| 679 | 679 | 'state' => array( |
| 680 | 680 | 'required' => false, |
| 681 | - 'label' => __( 'Province', 'give' ), |
|
| 681 | + 'label' => __('Province', 'give'), |
|
| 682 | 682 | 'hidden' => true, |
| 683 | 683 | ), |
| 684 | 684 | ), |
| 685 | 685 | 'NZ' => array( |
| 686 | 686 | 'state' => array( |
| 687 | - 'label' => __( 'Region', 'give' ), |
|
| 687 | + 'label' => __('Region', 'give'), |
|
| 688 | 688 | ), |
| 689 | 689 | ), |
| 690 | 690 | 'NO' => array( |
@@ -695,7 +695,7 @@ discard block |
||
| 695 | 695 | ), |
| 696 | 696 | 'NP' => array( |
| 697 | 697 | 'state' => array( |
| 698 | - 'label' => __( 'State / Zone', 'give' ), |
|
| 698 | + 'label' => __('State / Zone', 'give'), |
|
| 699 | 699 | ), |
| 700 | 700 | ), |
| 701 | 701 | 'PL' => array( |
@@ -739,12 +739,12 @@ discard block |
||
| 739 | 739 | ), |
| 740 | 740 | 'ES' => array( |
| 741 | 741 | 'state' => array( |
| 742 | - 'label' => __( 'Province', 'give' ), |
|
| 742 | + 'label' => __('Province', 'give'), |
|
| 743 | 743 | ), |
| 744 | 744 | ), |
| 745 | 745 | 'LI' => array( |
| 746 | 746 | 'state' => array( |
| 747 | - 'label' => __( 'Municipality', 'give' ), |
|
| 747 | + 'label' => __('Municipality', 'give'), |
|
| 748 | 748 | 'required' => false, |
| 749 | 749 | 'hidden' => true, |
| 750 | 750 | ), |
@@ -762,17 +762,17 @@ discard block |
||
| 762 | 762 | ), |
| 763 | 763 | 'TR' => array( |
| 764 | 764 | 'state' => array( |
| 765 | - 'label' => __( 'Province', 'give' ), |
|
| 765 | + 'label' => __('Province', 'give'), |
|
| 766 | 766 | ), |
| 767 | 767 | ), |
| 768 | 768 | 'US' => array( |
| 769 | 769 | 'state' => array( |
| 770 | - 'label' => __( 'State', 'give' ), |
|
| 770 | + 'label' => __('State', 'give'), |
|
| 771 | 771 | ), |
| 772 | 772 | ), |
| 773 | 773 | 'GB' => array( |
| 774 | 774 | 'state' => array( |
| 775 | - 'label' => __( 'County', 'give' ), |
|
| 775 | + 'label' => __('County', 'give'), |
|
| 776 | 776 | 'required' => false, |
| 777 | 777 | ), |
| 778 | 778 | ), |
@@ -789,10 +789,10 @@ discard block |
||
| 789 | 789 | ), |
| 790 | 790 | 'ZA' => array( |
| 791 | 791 | 'state' => array( |
| 792 | - 'label' => __( 'Province', 'give' ), |
|
| 792 | + 'label' => __('Province', 'give'), |
|
| 793 | 793 | ), |
| 794 | 794 | ), |
| 795 | - ) ); |
|
| 795 | + )); |
|
| 796 | 796 | } |
| 797 | 797 | |
| 798 | 798 | /** |
@@ -804,90 +804,90 @@ discard block |
||
| 804 | 804 | function give_get_turkey_states_list() { |
| 805 | 805 | $states = array( |
| 806 | 806 | '' => '', |
| 807 | - 'TR01' => __( 'Adana', 'give' ), |
|
| 808 | - 'TR02' => __( 'Adıyaman', 'give' ), |
|
| 809 | - 'TR03' => __( 'Afyon', 'give' ), |
|
| 810 | - 'TR04' => __( 'Ağrı', 'give' ), |
|
| 811 | - 'TR05' => __( 'Amasya', 'give' ), |
|
| 812 | - 'TR06' => __( 'Ankara', 'give' ), |
|
| 813 | - 'TR07' => __( 'Antalya', 'give' ), |
|
| 814 | - 'TR08' => __( 'Artvin', 'give' ), |
|
| 815 | - 'TR09' => __( 'Aydın', 'give' ), |
|
| 816 | - 'TR10' => __( 'Balıkesir', 'give' ), |
|
| 817 | - 'TR11' => __( 'Bilecik', 'give' ), |
|
| 818 | - 'TR12' => __( 'Bingöl', 'give' ), |
|
| 819 | - 'TR13' => __( 'Bitlis', 'give' ), |
|
| 820 | - 'TR14' => __( 'Bolu', 'give' ), |
|
| 821 | - 'TR15' => __( 'Burdur', 'give' ), |
|
| 822 | - 'TR16' => __( 'Bursa', 'give' ), |
|
| 823 | - 'TR17' => __( 'Çanakkale', 'give' ), |
|
| 824 | - 'TR18' => __( 'Çankırı', 'give' ), |
|
| 825 | - 'TR19' => __( 'Çorum', 'give' ), |
|
| 826 | - 'TR20' => __( 'Denizli', 'give' ), |
|
| 827 | - 'TR21' => __( 'Diyarbakır', 'give' ), |
|
| 828 | - 'TR22' => __( 'Edirne', 'give' ), |
|
| 829 | - 'TR23' => __( 'Elazığ', 'give' ), |
|
| 830 | - 'TR24' => __( 'Erzincan', 'give' ), |
|
| 831 | - 'TR25' => __( 'Erzurum', 'give' ), |
|
| 832 | - 'TR26' => __( 'Eskişehir', 'give' ), |
|
| 833 | - 'TR27' => __( 'Gaziantep', 'give' ), |
|
| 834 | - 'TR28' => __( 'Giresun', 'give' ), |
|
| 835 | - 'TR29' => __( 'Gümüşhane', 'give' ), |
|
| 836 | - 'TR30' => __( 'Hakkari', 'give' ), |
|
| 837 | - 'TR31' => __( 'Hatay', 'give' ), |
|
| 838 | - 'TR32' => __( 'Isparta', 'give' ), |
|
| 839 | - 'TR33' => __( 'İçel', 'give' ), |
|
| 840 | - 'TR34' => __( 'İstanbul', 'give' ), |
|
| 841 | - 'TR35' => __( 'İzmir', 'give' ), |
|
| 842 | - 'TR36' => __( 'Kars', 'give' ), |
|
| 843 | - 'TR37' => __( 'Kastamonu', 'give' ), |
|
| 844 | - 'TR38' => __( 'Kayseri', 'give' ), |
|
| 845 | - 'TR39' => __( 'Kırklareli', 'give' ), |
|
| 846 | - 'TR40' => __( 'Kırşehir', 'give' ), |
|
| 847 | - 'TR41' => __( 'Kocaeli', 'give' ), |
|
| 848 | - 'TR42' => __( 'Konya', 'give' ), |
|
| 849 | - 'TR43' => __( 'Kütahya', 'give' ), |
|
| 850 | - 'TR44' => __( 'Malatya', 'give' ), |
|
| 851 | - 'TR45' => __( 'Manisa', 'give' ), |
|
| 852 | - 'TR46' => __( 'Kahramanmaraş', 'give' ), |
|
| 853 | - 'TR47' => __( 'Mardin', 'give' ), |
|
| 854 | - 'TR48' => __( 'Muğla', 'give' ), |
|
| 855 | - 'TR49' => __( 'Muş', 'give' ), |
|
| 856 | - 'TR50' => __( 'Nevşehir', 'give' ), |
|
| 857 | - 'TR51' => __( 'Niğde', 'give' ), |
|
| 858 | - 'TR52' => __( 'Ordu', 'give' ), |
|
| 859 | - 'TR53' => __( 'Rize', 'give' ), |
|
| 860 | - 'TR54' => __( 'Sakarya', 'give' ), |
|
| 861 | - 'TR55' => __( 'Samsun', 'give' ), |
|
| 862 | - 'TR56' => __( 'Siirt', 'give' ), |
|
| 863 | - 'TR57' => __( 'Sinop', 'give' ), |
|
| 864 | - 'TR58' => __( 'Sivas', 'give' ), |
|
| 865 | - 'TR59' => __( 'Tekirdağ', 'give' ), |
|
| 866 | - 'TR60' => __( 'Tokat', 'give' ), |
|
| 867 | - 'TR61' => __( 'Trabzon', 'give' ), |
|
| 868 | - 'TR62' => __( 'Tunceli', 'give' ), |
|
| 869 | - 'TR63' => __( 'Şanlıurfa', 'give' ), |
|
| 870 | - 'TR64' => __( 'Uşak', 'give' ), |
|
| 871 | - 'TR65' => __( 'Van', 'give' ), |
|
| 872 | - 'TR66' => __( 'Yozgat', 'give' ), |
|
| 873 | - 'TR67' => __( 'Zonguldak', 'give' ), |
|
| 874 | - 'TR68' => __( 'Aksaray', 'give' ), |
|
| 875 | - 'TR69' => __( 'Bayburt', 'give' ), |
|
| 876 | - 'TR70' => __( 'Karaman', 'give' ), |
|
| 877 | - 'TR71' => __( 'Kırıkkale', 'give' ), |
|
| 878 | - 'TR72' => __( 'Batman', 'give' ), |
|
| 879 | - 'TR73' => __( 'Şırnak', 'give' ), |
|
| 880 | - 'TR74' => __( 'Bartın', 'give' ), |
|
| 881 | - 'TR75' => __( 'Ardahan', 'give' ), |
|
| 882 | - 'TR76' => __( 'Iğdır', 'give' ), |
|
| 883 | - 'TR77' => __( 'Yalova', 'give' ), |
|
| 884 | - 'TR78' => __( 'Karabük', 'give' ), |
|
| 885 | - 'TR79' => __( 'Kilis', 'give' ), |
|
| 886 | - 'TR80' => __( 'Osmaniye', 'give' ), |
|
| 887 | - 'TR81' => __( 'Düzce', 'give' ), |
|
| 807 | + 'TR01' => __('Adana', 'give'), |
|
| 808 | + 'TR02' => __('Adıyaman', 'give'), |
|
| 809 | + 'TR03' => __('Afyon', 'give'), |
|
| 810 | + 'TR04' => __('Ağrı', 'give'), |
|
| 811 | + 'TR05' => __('Amasya', 'give'), |
|
| 812 | + 'TR06' => __('Ankara', 'give'), |
|
| 813 | + 'TR07' => __('Antalya', 'give'), |
|
| 814 | + 'TR08' => __('Artvin', 'give'), |
|
| 815 | + 'TR09' => __('Aydın', 'give'), |
|
| 816 | + 'TR10' => __('Balıkesir', 'give'), |
|
| 817 | + 'TR11' => __('Bilecik', 'give'), |
|
| 818 | + 'TR12' => __('Bingöl', 'give'), |
|
| 819 | + 'TR13' => __('Bitlis', 'give'), |
|
| 820 | + 'TR14' => __('Bolu', 'give'), |
|
| 821 | + 'TR15' => __('Burdur', 'give'), |
|
| 822 | + 'TR16' => __('Bursa', 'give'), |
|
| 823 | + 'TR17' => __('Çanakkale', 'give'), |
|
| 824 | + 'TR18' => __('Çankırı', 'give'), |
|
| 825 | + 'TR19' => __('Çorum', 'give'), |
|
| 826 | + 'TR20' => __('Denizli', 'give'), |
|
| 827 | + 'TR21' => __('Diyarbakır', 'give'), |
|
| 828 | + 'TR22' => __('Edirne', 'give'), |
|
| 829 | + 'TR23' => __('Elazığ', 'give'), |
|
| 830 | + 'TR24' => __('Erzincan', 'give'), |
|
| 831 | + 'TR25' => __('Erzurum', 'give'), |
|
| 832 | + 'TR26' => __('Eskişehir', 'give'), |
|
| 833 | + 'TR27' => __('Gaziantep', 'give'), |
|
| 834 | + 'TR28' => __('Giresun', 'give'), |
|
| 835 | + 'TR29' => __('Gümüşhane', 'give'), |
|
| 836 | + 'TR30' => __('Hakkari', 'give'), |
|
| 837 | + 'TR31' => __('Hatay', 'give'), |
|
| 838 | + 'TR32' => __('Isparta', 'give'), |
|
| 839 | + 'TR33' => __('İçel', 'give'), |
|
| 840 | + 'TR34' => __('İstanbul', 'give'), |
|
| 841 | + 'TR35' => __('İzmir', 'give'), |
|
| 842 | + 'TR36' => __('Kars', 'give'), |
|
| 843 | + 'TR37' => __('Kastamonu', 'give'), |
|
| 844 | + 'TR38' => __('Kayseri', 'give'), |
|
| 845 | + 'TR39' => __('Kırklareli', 'give'), |
|
| 846 | + 'TR40' => __('Kırşehir', 'give'), |
|
| 847 | + 'TR41' => __('Kocaeli', 'give'), |
|
| 848 | + 'TR42' => __('Konya', 'give'), |
|
| 849 | + 'TR43' => __('Kütahya', 'give'), |
|
| 850 | + 'TR44' => __('Malatya', 'give'), |
|
| 851 | + 'TR45' => __('Manisa', 'give'), |
|
| 852 | + 'TR46' => __('Kahramanmaraş', 'give'), |
|
| 853 | + 'TR47' => __('Mardin', 'give'), |
|
| 854 | + 'TR48' => __('Muğla', 'give'), |
|
| 855 | + 'TR49' => __('Muş', 'give'), |
|
| 856 | + 'TR50' => __('Nevşehir', 'give'), |
|
| 857 | + 'TR51' => __('Niğde', 'give'), |
|
| 858 | + 'TR52' => __('Ordu', 'give'), |
|
| 859 | + 'TR53' => __('Rize', 'give'), |
|
| 860 | + 'TR54' => __('Sakarya', 'give'), |
|
| 861 | + 'TR55' => __('Samsun', 'give'), |
|
| 862 | + 'TR56' => __('Siirt', 'give'), |
|
| 863 | + 'TR57' => __('Sinop', 'give'), |
|
| 864 | + 'TR58' => __('Sivas', 'give'), |
|
| 865 | + 'TR59' => __('Tekirdağ', 'give'), |
|
| 866 | + 'TR60' => __('Tokat', 'give'), |
|
| 867 | + 'TR61' => __('Trabzon', 'give'), |
|
| 868 | + 'TR62' => __('Tunceli', 'give'), |
|
| 869 | + 'TR63' => __('Şanlıurfa', 'give'), |
|
| 870 | + 'TR64' => __('Uşak', 'give'), |
|
| 871 | + 'TR65' => __('Van', 'give'), |
|
| 872 | + 'TR66' => __('Yozgat', 'give'), |
|
| 873 | + 'TR67' => __('Zonguldak', 'give'), |
|
| 874 | + 'TR68' => __('Aksaray', 'give'), |
|
| 875 | + 'TR69' => __('Bayburt', 'give'), |
|
| 876 | + 'TR70' => __('Karaman', 'give'), |
|
| 877 | + 'TR71' => __('Kırıkkale', 'give'), |
|
| 878 | + 'TR72' => __('Batman', 'give'), |
|
| 879 | + 'TR73' => __('Şırnak', 'give'), |
|
| 880 | + 'TR74' => __('Bartın', 'give'), |
|
| 881 | + 'TR75' => __('Ardahan', 'give'), |
|
| 882 | + 'TR76' => __('Iğdır', 'give'), |
|
| 883 | + 'TR77' => __('Yalova', 'give'), |
|
| 884 | + 'TR78' => __('Karabük', 'give'), |
|
| 885 | + 'TR79' => __('Kilis', 'give'), |
|
| 886 | + 'TR80' => __('Osmaniye', 'give'), |
|
| 887 | + 'TR81' => __('Düzce', 'give'), |
|
| 888 | 888 | ); |
| 889 | 889 | |
| 890 | - return apply_filters( 'give_turkey_states', $states ); |
|
| 890 | + return apply_filters('give_turkey_states', $states); |
|
| 891 | 891 | } |
| 892 | 892 | |
| 893 | 893 | /** |
@@ -899,51 +899,51 @@ discard block |
||
| 899 | 899 | function give_get_romania_states_list() { |
| 900 | 900 | $states = array( |
| 901 | 901 | '' => '', |
| 902 | - 'AB' => __( 'Alba', 'give' ), |
|
| 903 | - 'AR' => __( 'Arad', 'give' ), |
|
| 904 | - 'AG' => __( 'Arges', 'give' ), |
|
| 905 | - 'BC' => __( 'Bacau', 'give' ), |
|
| 906 | - 'BH' => __( 'Bihor', 'give' ), |
|
| 907 | - 'BN' => __( 'Bistrita-Nasaud', 'give' ), |
|
| 908 | - 'BT' => __( 'Botosani', 'give' ), |
|
| 909 | - 'BR' => __( 'Braila', 'give' ), |
|
| 910 | - 'BV' => __( 'Brasov', 'give' ), |
|
| 911 | - 'B' => __( 'Bucuresti', 'give' ), |
|
| 912 | - 'BZ' => __( 'Buzau', 'give' ), |
|
| 913 | - 'CL' => __( 'Calarasi', 'give' ), |
|
| 914 | - 'CS' => __( 'Caras-Severin', 'give' ), |
|
| 915 | - 'CJ' => __( 'Cluj', 'give' ), |
|
| 916 | - 'CT' => __( 'Constanta', 'give' ), |
|
| 917 | - 'CV' => __( 'Covasna', 'give' ), |
|
| 918 | - 'DB' => __( 'Dambovita', 'give' ), |
|
| 919 | - 'DJ' => __( 'Dolj', 'give' ), |
|
| 920 | - 'GL' => __( 'Galati', 'give' ), |
|
| 921 | - 'GR' => __( 'Giurgiu', 'give' ), |
|
| 922 | - 'GJ' => __( 'Gorj', 'give' ), |
|
| 923 | - 'HR' => __( 'Harghita', 'give' ), |
|
| 924 | - 'HD' => __( 'Hunedoara', 'give' ), |
|
| 925 | - 'IL' => __( 'Ialomita', 'give' ), |
|
| 926 | - 'IS' => __( 'Iasi', 'give' ), |
|
| 927 | - 'IF' => __( 'Ilfov', 'give' ), |
|
| 928 | - 'MM' => __( 'Maramures', 'give' ), |
|
| 929 | - 'MH' => __( 'Mehedinti', 'give' ), |
|
| 930 | - 'MS' => __( 'Mures', 'give' ), |
|
| 931 | - 'NT' => __( 'Neamt', 'give' ), |
|
| 932 | - 'OT' => __( 'Olt', 'give' ), |
|
| 933 | - 'PH' => __( 'Prahova', 'give' ), |
|
| 934 | - 'SJ' => __( 'Salaj', 'give' ), |
|
| 935 | - 'SM' => __( 'Satu Mare', 'give' ), |
|
| 936 | - 'SB' => __( 'Sibiu', 'give' ), |
|
| 937 | - 'SV' => __( 'Suceava', 'give' ), |
|
| 938 | - 'TR' => __( 'Teleorman', 'give' ), |
|
| 939 | - 'TM' => __( 'Timis', 'give' ), |
|
| 940 | - 'TL' => __( 'Tulcea', 'give' ), |
|
| 941 | - 'VL' => __( 'Valcea', 'give' ), |
|
| 942 | - 'VS' => __( 'Vaslui', 'give' ), |
|
| 943 | - 'VN' => __( 'Vrancea', 'give' ), |
|
| 902 | + 'AB' => __('Alba', 'give'), |
|
| 903 | + 'AR' => __('Arad', 'give'), |
|
| 904 | + 'AG' => __('Arges', 'give'), |
|
| 905 | + 'BC' => __('Bacau', 'give'), |
|
| 906 | + 'BH' => __('Bihor', 'give'), |
|
| 907 | + 'BN' => __('Bistrita-Nasaud', 'give'), |
|
| 908 | + 'BT' => __('Botosani', 'give'), |
|
| 909 | + 'BR' => __('Braila', 'give'), |
|
| 910 | + 'BV' => __('Brasov', 'give'), |
|
| 911 | + 'B' => __('Bucuresti', 'give'), |
|
| 912 | + 'BZ' => __('Buzau', 'give'), |
|
| 913 | + 'CL' => __('Calarasi', 'give'), |
|
| 914 | + 'CS' => __('Caras-Severin', 'give'), |
|
| 915 | + 'CJ' => __('Cluj', 'give'), |
|
| 916 | + 'CT' => __('Constanta', 'give'), |
|
| 917 | + 'CV' => __('Covasna', 'give'), |
|
| 918 | + 'DB' => __('Dambovita', 'give'), |
|
| 919 | + 'DJ' => __('Dolj', 'give'), |
|
| 920 | + 'GL' => __('Galati', 'give'), |
|
| 921 | + 'GR' => __('Giurgiu', 'give'), |
|
| 922 | + 'GJ' => __('Gorj', 'give'), |
|
| 923 | + 'HR' => __('Harghita', 'give'), |
|
| 924 | + 'HD' => __('Hunedoara', 'give'), |
|
| 925 | + 'IL' => __('Ialomita', 'give'), |
|
| 926 | + 'IS' => __('Iasi', 'give'), |
|
| 927 | + 'IF' => __('Ilfov', 'give'), |
|
| 928 | + 'MM' => __('Maramures', 'give'), |
|
| 929 | + 'MH' => __('Mehedinti', 'give'), |
|
| 930 | + 'MS' => __('Mures', 'give'), |
|
| 931 | + 'NT' => __('Neamt', 'give'), |
|
| 932 | + 'OT' => __('Olt', 'give'), |
|
| 933 | + 'PH' => __('Prahova', 'give'), |
|
| 934 | + 'SJ' => __('Salaj', 'give'), |
|
| 935 | + 'SM' => __('Satu Mare', 'give'), |
|
| 936 | + 'SB' => __('Sibiu', 'give'), |
|
| 937 | + 'SV' => __('Suceava', 'give'), |
|
| 938 | + 'TR' => __('Teleorman', 'give'), |
|
| 939 | + 'TM' => __('Timis', 'give'), |
|
| 940 | + 'TL' => __('Tulcea', 'give'), |
|
| 941 | + 'VL' => __('Valcea', 'give'), |
|
| 942 | + 'VS' => __('Vaslui', 'give'), |
|
| 943 | + 'VN' => __('Vrancea', 'give'), |
|
| 944 | 944 | ); |
| 945 | 945 | |
| 946 | - return apply_filters( 'give_romania_states', $states ); |
|
| 946 | + return apply_filters('give_romania_states', $states); |
|
| 947 | 947 | } |
| 948 | 948 | |
| 949 | 949 | /** |
@@ -955,17 +955,17 @@ discard block |
||
| 955 | 955 | function give_get_pakistan_states_list() { |
| 956 | 956 | $states = array( |
| 957 | 957 | '' => '', |
| 958 | - 'JK' => __( 'Azad Kashmir', 'give' ), |
|
| 959 | - 'BA' => __( 'Balochistan', 'give' ), |
|
| 960 | - 'TA' => __( 'FATA', 'give' ), |
|
| 961 | - 'GB' => __( 'Gilgit Baltistan', 'give' ), |
|
| 962 | - 'IS' => __( 'Islamabad Capital Territory', 'give' ), |
|
| 963 | - 'KP' => __( 'Khyber Pakhtunkhwa', 'give' ), |
|
| 964 | - 'PB' => __( 'Punjab', 'give' ), |
|
| 965 | - 'SD' => __( 'Sindh', 'give' ), |
|
| 958 | + 'JK' => __('Azad Kashmir', 'give'), |
|
| 959 | + 'BA' => __('Balochistan', 'give'), |
|
| 960 | + 'TA' => __('FATA', 'give'), |
|
| 961 | + 'GB' => __('Gilgit Baltistan', 'give'), |
|
| 962 | + 'IS' => __('Islamabad Capital Territory', 'give'), |
|
| 963 | + 'KP' => __('Khyber Pakhtunkhwa', 'give'), |
|
| 964 | + 'PB' => __('Punjab', 'give'), |
|
| 965 | + 'SD' => __('Sindh', 'give'), |
|
| 966 | 966 | ); |
| 967 | 967 | |
| 968 | - return apply_filters( 'give_pakistan_states', $states ); |
|
| 968 | + return apply_filters('give_pakistan_states', $states); |
|
| 969 | 969 | } |
| 970 | 970 | |
| 971 | 971 | /** |
@@ -977,91 +977,91 @@ discard block |
||
| 977 | 977 | function give_get_philippines_states_list() { |
| 978 | 978 | $states = array( |
| 979 | 979 | '' => '', |
| 980 | - 'ABR' => __( 'Abra', 'give' ), |
|
| 981 | - 'AGN' => __( 'Agusan del Norte', 'give' ), |
|
| 982 | - 'AGS' => __( 'Agusan del Sur', 'give' ), |
|
| 983 | - 'AKL' => __( 'Aklan', 'give' ), |
|
| 984 | - 'ALB' => __( 'Albay', 'give' ), |
|
| 985 | - 'ANT' => __( 'Antique', 'give' ), |
|
| 986 | - 'APA' => __( 'Apayao', 'give' ), |
|
| 987 | - 'AUR' => __( 'Aurora', 'give' ), |
|
| 988 | - 'BAS' => __( 'Basilan', 'give' ), |
|
| 989 | - 'BAN' => __( 'Bataan', 'give' ), |
|
| 990 | - 'BTN' => __( 'Batanes', 'give' ), |
|
| 991 | - 'BTG' => __( 'Batangas', 'give' ), |
|
| 992 | - 'BEN' => __( 'Benguet', 'give' ), |
|
| 993 | - 'BIL' => __( 'Biliran', 'give' ), |
|
| 994 | - 'BOH' => __( 'Bohol', 'give' ), |
|
| 995 | - 'BUK' => __( 'Bukidnon', 'give' ), |
|
| 996 | - 'BUL' => __( 'Bulacan', 'give' ), |
|
| 997 | - 'CAG' => __( 'Cagayan', 'give' ), |
|
| 998 | - 'CAN' => __( 'Camarines Norte', 'give' ), |
|
| 999 | - 'CAS' => __( 'Camarines Sur', 'give' ), |
|
| 1000 | - 'CAM' => __( 'Camiguin', 'give' ), |
|
| 1001 | - 'CAP' => __( 'Capiz', 'give' ), |
|
| 1002 | - 'CAT' => __( 'Catanduanes', 'give' ), |
|
| 1003 | - 'CAV' => __( 'Cavite', 'give' ), |
|
| 1004 | - 'CEB' => __( 'Cebu', 'give' ), |
|
| 1005 | - 'COM' => __( 'Compostela Valley', 'give' ), |
|
| 1006 | - 'NCO' => __( 'Cotabato', 'give' ), |
|
| 1007 | - 'DAV' => __( 'Davao del Norte', 'give' ), |
|
| 1008 | - 'DAS' => __( 'Davao del Sur', 'give' ), |
|
| 1009 | - 'DAC' => __( 'Davao Occidental', 'give' ), // TODO: Needs to be updated when ISO code is assigned |
|
| 1010 | - 'DAO' => __( 'Davao Oriental', 'give' ), |
|
| 1011 | - 'DIN' => __( 'Dinagat Islands', 'give' ), |
|
| 1012 | - 'EAS' => __( 'Eastern Samar', 'give' ), |
|
| 1013 | - 'GUI' => __( 'Guimaras', 'give' ), |
|
| 1014 | - 'IFU' => __( 'Ifugao', 'give' ), |
|
| 1015 | - 'ILN' => __( 'Ilocos Norte', 'give' ), |
|
| 1016 | - 'ILS' => __( 'Ilocos Sur', 'give' ), |
|
| 1017 | - 'ILI' => __( 'Iloilo', 'give' ), |
|
| 1018 | - 'ISA' => __( 'Isabela', 'give' ), |
|
| 1019 | - 'KAL' => __( 'Kalinga', 'give' ), |
|
| 1020 | - 'LUN' => __( 'La Union', 'give' ), |
|
| 1021 | - 'LAG' => __( 'Laguna', 'give' ), |
|
| 1022 | - 'LAN' => __( 'Lanao del Norte', 'give' ), |
|
| 1023 | - 'LAS' => __( 'Lanao del Sur', 'give' ), |
|
| 1024 | - 'LEY' => __( 'Leyte', 'give' ), |
|
| 1025 | - 'MAG' => __( 'Maguindanao', 'give' ), |
|
| 1026 | - 'MAD' => __( 'Marinduque', 'give' ), |
|
| 1027 | - 'MAS' => __( 'Masbate', 'give' ), |
|
| 1028 | - 'MSC' => __( 'Misamis Occidental', 'give' ), |
|
| 1029 | - 'MSR' => __( 'Misamis Oriental', 'give' ), |
|
| 1030 | - 'MOU' => __( 'Mountain Province', 'give' ), |
|
| 1031 | - 'NEC' => __( 'Negros Occidental', 'give' ), |
|
| 1032 | - 'NER' => __( 'Negros Oriental', 'give' ), |
|
| 1033 | - 'NSA' => __( 'Northern Samar', 'give' ), |
|
| 1034 | - 'NUE' => __( 'Nueva Ecija', 'give' ), |
|
| 1035 | - 'NUV' => __( 'Nueva Vizcaya', 'give' ), |
|
| 1036 | - 'MDC' => __( 'Occidental Mindoro', 'give' ), |
|
| 1037 | - 'MDR' => __( 'Oriental Mindoro', 'give' ), |
|
| 1038 | - 'PLW' => __( 'Palawan', 'give' ), |
|
| 1039 | - 'PAM' => __( 'Pampanga', 'give' ), |
|
| 1040 | - 'PAN' => __( 'Pangasinan', 'give' ), |
|
| 1041 | - 'QUE' => __( 'Quezon', 'give' ), |
|
| 1042 | - 'QUI' => __( 'Quirino', 'give' ), |
|
| 1043 | - 'RIZ' => __( 'Rizal', 'give' ), |
|
| 1044 | - 'ROM' => __( 'Romblon', 'give' ), |
|
| 1045 | - 'WSA' => __( 'Samar', 'give' ), |
|
| 1046 | - 'SAR' => __( 'Sarangani', 'give' ), |
|
| 1047 | - 'SIQ' => __( 'Siquijor', 'give' ), |
|
| 1048 | - 'SOR' => __( 'Sorsogon', 'give' ), |
|
| 1049 | - 'SCO' => __( 'South Cotabato', 'give' ), |
|
| 1050 | - 'SLE' => __( 'Southern Leyte', 'give' ), |
|
| 1051 | - 'SUK' => __( 'Sultan Kudarat', 'give' ), |
|
| 1052 | - 'SLU' => __( 'Sulu', 'give' ), |
|
| 1053 | - 'SUN' => __( 'Surigao del Norte', 'give' ), |
|
| 1054 | - 'SUR' => __( 'Surigao del Sur', 'give' ), |
|
| 1055 | - 'TAR' => __( 'Tarlac', 'give' ), |
|
| 1056 | - 'TAW' => __( 'Tawi-Tawi', 'give' ), |
|
| 1057 | - 'ZMB' => __( 'Zambales', 'give' ), |
|
| 1058 | - 'ZAN' => __( 'Zamboanga del Norte', 'give' ), |
|
| 1059 | - 'ZAS' => __( 'Zamboanga del Sur', 'give' ), |
|
| 1060 | - 'ZSI' => __( 'Zamboanga Sibugay', 'give' ), |
|
| 1061 | - '00' => __( 'Metro Manila', 'give' ), |
|
| 980 | + 'ABR' => __('Abra', 'give'), |
|
| 981 | + 'AGN' => __('Agusan del Norte', 'give'), |
|
| 982 | + 'AGS' => __('Agusan del Sur', 'give'), |
|
| 983 | + 'AKL' => __('Aklan', 'give'), |
|
| 984 | + 'ALB' => __('Albay', 'give'), |
|
| 985 | + 'ANT' => __('Antique', 'give'), |
|
| 986 | + 'APA' => __('Apayao', 'give'), |
|
| 987 | + 'AUR' => __('Aurora', 'give'), |
|
| 988 | + 'BAS' => __('Basilan', 'give'), |
|
| 989 | + 'BAN' => __('Bataan', 'give'), |
|
| 990 | + 'BTN' => __('Batanes', 'give'), |
|
| 991 | + 'BTG' => __('Batangas', 'give'), |
|
| 992 | + 'BEN' => __('Benguet', 'give'), |
|
| 993 | + 'BIL' => __('Biliran', 'give'), |
|
| 994 | + 'BOH' => __('Bohol', 'give'), |
|
| 995 | + 'BUK' => __('Bukidnon', 'give'), |
|
| 996 | + 'BUL' => __('Bulacan', 'give'), |
|
| 997 | + 'CAG' => __('Cagayan', 'give'), |
|
| 998 | + 'CAN' => __('Camarines Norte', 'give'), |
|
| 999 | + 'CAS' => __('Camarines Sur', 'give'), |
|
| 1000 | + 'CAM' => __('Camiguin', 'give'), |
|
| 1001 | + 'CAP' => __('Capiz', 'give'), |
|
| 1002 | + 'CAT' => __('Catanduanes', 'give'), |
|
| 1003 | + 'CAV' => __('Cavite', 'give'), |
|
| 1004 | + 'CEB' => __('Cebu', 'give'), |
|
| 1005 | + 'COM' => __('Compostela Valley', 'give'), |
|
| 1006 | + 'NCO' => __('Cotabato', 'give'), |
|
| 1007 | + 'DAV' => __('Davao del Norte', 'give'), |
|
| 1008 | + 'DAS' => __('Davao del Sur', 'give'), |
|
| 1009 | + 'DAC' => __('Davao Occidental', 'give'), // TODO: Needs to be updated when ISO code is assigned |
|
| 1010 | + 'DAO' => __('Davao Oriental', 'give'), |
|
| 1011 | + 'DIN' => __('Dinagat Islands', 'give'), |
|
| 1012 | + 'EAS' => __('Eastern Samar', 'give'), |
|
| 1013 | + 'GUI' => __('Guimaras', 'give'), |
|
| 1014 | + 'IFU' => __('Ifugao', 'give'), |
|
| 1015 | + 'ILN' => __('Ilocos Norte', 'give'), |
|
| 1016 | + 'ILS' => __('Ilocos Sur', 'give'), |
|
| 1017 | + 'ILI' => __('Iloilo', 'give'), |
|
| 1018 | + 'ISA' => __('Isabela', 'give'), |
|
| 1019 | + 'KAL' => __('Kalinga', 'give'), |
|
| 1020 | + 'LUN' => __('La Union', 'give'), |
|
| 1021 | + 'LAG' => __('Laguna', 'give'), |
|
| 1022 | + 'LAN' => __('Lanao del Norte', 'give'), |
|
| 1023 | + 'LAS' => __('Lanao del Sur', 'give'), |
|
| 1024 | + 'LEY' => __('Leyte', 'give'), |
|
| 1025 | + 'MAG' => __('Maguindanao', 'give'), |
|
| 1026 | + 'MAD' => __('Marinduque', 'give'), |
|
| 1027 | + 'MAS' => __('Masbate', 'give'), |
|
| 1028 | + 'MSC' => __('Misamis Occidental', 'give'), |
|
| 1029 | + 'MSR' => __('Misamis Oriental', 'give'), |
|
| 1030 | + 'MOU' => __('Mountain Province', 'give'), |
|
| 1031 | + 'NEC' => __('Negros Occidental', 'give'), |
|
| 1032 | + 'NER' => __('Negros Oriental', 'give'), |
|
| 1033 | + 'NSA' => __('Northern Samar', 'give'), |
|
| 1034 | + 'NUE' => __('Nueva Ecija', 'give'), |
|
| 1035 | + 'NUV' => __('Nueva Vizcaya', 'give'), |
|
| 1036 | + 'MDC' => __('Occidental Mindoro', 'give'), |
|
| 1037 | + 'MDR' => __('Oriental Mindoro', 'give'), |
|
| 1038 | + 'PLW' => __('Palawan', 'give'), |
|
| 1039 | + 'PAM' => __('Pampanga', 'give'), |
|
| 1040 | + 'PAN' => __('Pangasinan', 'give'), |
|
| 1041 | + 'QUE' => __('Quezon', 'give'), |
|
| 1042 | + 'QUI' => __('Quirino', 'give'), |
|
| 1043 | + 'RIZ' => __('Rizal', 'give'), |
|
| 1044 | + 'ROM' => __('Romblon', 'give'), |
|
| 1045 | + 'WSA' => __('Samar', 'give'), |
|
| 1046 | + 'SAR' => __('Sarangani', 'give'), |
|
| 1047 | + 'SIQ' => __('Siquijor', 'give'), |
|
| 1048 | + 'SOR' => __('Sorsogon', 'give'), |
|
| 1049 | + 'SCO' => __('South Cotabato', 'give'), |
|
| 1050 | + 'SLE' => __('Southern Leyte', 'give'), |
|
| 1051 | + 'SUK' => __('Sultan Kudarat', 'give'), |
|
| 1052 | + 'SLU' => __('Sulu', 'give'), |
|
| 1053 | + 'SUN' => __('Surigao del Norte', 'give'), |
|
| 1054 | + 'SUR' => __('Surigao del Sur', 'give'), |
|
| 1055 | + 'TAR' => __('Tarlac', 'give'), |
|
| 1056 | + 'TAW' => __('Tawi-Tawi', 'give'), |
|
| 1057 | + 'ZMB' => __('Zambales', 'give'), |
|
| 1058 | + 'ZAN' => __('Zamboanga del Norte', 'give'), |
|
| 1059 | + 'ZAS' => __('Zamboanga del Sur', 'give'), |
|
| 1060 | + 'ZSI' => __('Zamboanga Sibugay', 'give'), |
|
| 1061 | + '00' => __('Metro Manila', 'give'), |
|
| 1062 | 1062 | ); |
| 1063 | 1063 | |
| 1064 | - return apply_filters( 'give_philippines_states', $states ); |
|
| 1064 | + return apply_filters('give_philippines_states', $states); |
|
| 1065 | 1065 | } |
| 1066 | 1066 | |
| 1067 | 1067 | /** |
@@ -1073,35 +1073,35 @@ discard block |
||
| 1073 | 1073 | function give_get_peru_states_list() { |
| 1074 | 1074 | $states = array( |
| 1075 | 1075 | '' => '', |
| 1076 | - 'CAL' => __( 'El Callao', 'give' ), |
|
| 1077 | - 'LMA' => __( 'Municipalidad Metropolitana de Lima', 'give' ), |
|
| 1078 | - 'AMA' => __( 'Amazonas', 'give' ), |
|
| 1079 | - 'ANC' => __( 'Ancash', 'give' ), |
|
| 1080 | - 'APU' => __( 'Apurímac', 'give' ), |
|
| 1081 | - 'ARE' => __( 'Arequipa', 'give' ), |
|
| 1082 | - 'AYA' => __( 'Ayacucho', 'give' ), |
|
| 1083 | - 'CAJ' => __( 'Cajamarca', 'give' ), |
|
| 1084 | - 'CUS' => __( 'Cusco', 'give' ), |
|
| 1085 | - 'HUV' => __( 'Huancavelica', 'give' ), |
|
| 1086 | - 'HUC' => __( 'Huánuco', 'give' ), |
|
| 1087 | - 'ICA' => __( 'Ica', 'give' ), |
|
| 1088 | - 'JUN' => __( 'Junín', 'give' ), |
|
| 1089 | - 'LAL' => __( 'La Libertad', 'give' ), |
|
| 1090 | - 'LAM' => __( 'Lambayeque', 'give' ), |
|
| 1091 | - 'LIM' => __( 'Lima', 'give' ), |
|
| 1092 | - 'LOR' => __( 'Loreto', 'give' ), |
|
| 1093 | - 'MDD' => __( 'Madre de Dios', 'give' ), |
|
| 1094 | - 'MOQ' => __( 'Moquegua', 'give' ), |
|
| 1095 | - 'PAS' => __( 'Pasco', 'give' ), |
|
| 1096 | - 'PIU' => __( 'Piura', 'give' ), |
|
| 1097 | - 'PUN' => __( 'Puno', 'give' ), |
|
| 1098 | - 'SAM' => __( 'San Martín', 'give' ), |
|
| 1099 | - 'TAC' => __( 'Tacna', 'give' ), |
|
| 1100 | - 'TUM' => __( 'Tumbes', 'give' ), |
|
| 1101 | - 'UCA' => __( 'Ucayali', 'give' ), |
|
| 1076 | + 'CAL' => __('El Callao', 'give'), |
|
| 1077 | + 'LMA' => __('Municipalidad Metropolitana de Lima', 'give'), |
|
| 1078 | + 'AMA' => __('Amazonas', 'give'), |
|
| 1079 | + 'ANC' => __('Ancash', 'give'), |
|
| 1080 | + 'APU' => __('Apurímac', 'give'), |
|
| 1081 | + 'ARE' => __('Arequipa', 'give'), |
|
| 1082 | + 'AYA' => __('Ayacucho', 'give'), |
|
| 1083 | + 'CAJ' => __('Cajamarca', 'give'), |
|
| 1084 | + 'CUS' => __('Cusco', 'give'), |
|
| 1085 | + 'HUV' => __('Huancavelica', 'give'), |
|
| 1086 | + 'HUC' => __('Huánuco', 'give'), |
|
| 1087 | + 'ICA' => __('Ica', 'give'), |
|
| 1088 | + 'JUN' => __('Junín', 'give'), |
|
| 1089 | + 'LAL' => __('La Libertad', 'give'), |
|
| 1090 | + 'LAM' => __('Lambayeque', 'give'), |
|
| 1091 | + 'LIM' => __('Lima', 'give'), |
|
| 1092 | + 'LOR' => __('Loreto', 'give'), |
|
| 1093 | + 'MDD' => __('Madre de Dios', 'give'), |
|
| 1094 | + 'MOQ' => __('Moquegua', 'give'), |
|
| 1095 | + 'PAS' => __('Pasco', 'give'), |
|
| 1096 | + 'PIU' => __('Piura', 'give'), |
|
| 1097 | + 'PUN' => __('Puno', 'give'), |
|
| 1098 | + 'SAM' => __('San Martín', 'give'), |
|
| 1099 | + 'TAC' => __('Tacna', 'give'), |
|
| 1100 | + 'TUM' => __('Tumbes', 'give'), |
|
| 1101 | + 'UCA' => __('Ucayali', 'give'), |
|
| 1102 | 1102 | ); |
| 1103 | 1103 | |
| 1104 | - return apply_filters( 'give_peru_states', $states ); |
|
| 1104 | + return apply_filters('give_peru_states', $states); |
|
| 1105 | 1105 | } |
| 1106 | 1106 | |
| 1107 | 1107 | /** |
@@ -1113,23 +1113,23 @@ discard block |
||
| 1113 | 1113 | function give_get_nepal_states_list() { |
| 1114 | 1114 | $states = array( |
| 1115 | 1115 | '' => '', |
| 1116 | - 'BAG' => __( 'Bagmati', 'give' ), |
|
| 1117 | - 'BHE' => __( 'Bheri', 'give' ), |
|
| 1118 | - 'DHA' => __( 'Dhaulagiri', 'give' ), |
|
| 1119 | - 'GAN' => __( 'Gandaki', 'give' ), |
|
| 1120 | - 'JAN' => __( 'Janakpur', 'give' ), |
|
| 1121 | - 'KAR' => __( 'Karnali', 'give' ), |
|
| 1122 | - 'KOS' => __( 'Koshi', 'give' ), |
|
| 1123 | - 'LUM' => __( 'Lumbini', 'give' ), |
|
| 1124 | - 'MAH' => __( 'Mahakali', 'give' ), |
|
| 1125 | - 'MEC' => __( 'Mechi', 'give' ), |
|
| 1126 | - 'NAR' => __( 'Narayani', 'give' ), |
|
| 1127 | - 'RAP' => __( 'Rapti', 'give' ), |
|
| 1128 | - 'SAG' => __( 'Sagarmatha', 'give' ), |
|
| 1129 | - 'SET' => __( 'Seti', 'give' ), |
|
| 1116 | + 'BAG' => __('Bagmati', 'give'), |
|
| 1117 | + 'BHE' => __('Bheri', 'give'), |
|
| 1118 | + 'DHA' => __('Dhaulagiri', 'give'), |
|
| 1119 | + 'GAN' => __('Gandaki', 'give'), |
|
| 1120 | + 'JAN' => __('Janakpur', 'give'), |
|
| 1121 | + 'KAR' => __('Karnali', 'give'), |
|
| 1122 | + 'KOS' => __('Koshi', 'give'), |
|
| 1123 | + 'LUM' => __('Lumbini', 'give'), |
|
| 1124 | + 'MAH' => __('Mahakali', 'give'), |
|
| 1125 | + 'MEC' => __('Mechi', 'give'), |
|
| 1126 | + 'NAR' => __('Narayani', 'give'), |
|
| 1127 | + 'RAP' => __('Rapti', 'give'), |
|
| 1128 | + 'SAG' => __('Sagarmatha', 'give'), |
|
| 1129 | + 'SET' => __('Seti', 'give'), |
|
| 1130 | 1130 | ); |
| 1131 | 1131 | |
| 1132 | - return apply_filters( 'give_nepal_states', $states ); |
|
| 1132 | + return apply_filters('give_nepal_states', $states); |
|
| 1133 | 1133 | } |
| 1134 | 1134 | |
| 1135 | 1135 | /** |
@@ -1141,46 +1141,46 @@ discard block |
||
| 1141 | 1141 | function give_get_nigerian_states_list() { |
| 1142 | 1142 | $states = array( |
| 1143 | 1143 | '' => '', |
| 1144 | - 'AB' => __( 'Abia', 'give' ), |
|
| 1145 | - 'FC' => __( 'Abuja', 'give' ), |
|
| 1146 | - 'AD' => __( 'Adamawa', 'give' ), |
|
| 1147 | - 'AK' => __( 'Akwa Ibom', 'give' ), |
|
| 1148 | - 'AN' => __( 'Anambra', 'give' ), |
|
| 1149 | - 'BA' => __( 'Bauchi', 'give' ), |
|
| 1150 | - 'BY' => __( 'Bayelsa', 'give' ), |
|
| 1151 | - 'BE' => __( 'Benue', 'give' ), |
|
| 1152 | - 'BO' => __( 'Borno', 'give' ), |
|
| 1153 | - 'CR' => __( 'Cross River', 'give' ), |
|
| 1154 | - 'DE' => __( 'Delta', 'give' ), |
|
| 1155 | - 'EB' => __( 'Ebonyi', 'give' ), |
|
| 1156 | - 'ED' => __( 'Edo', 'give' ), |
|
| 1157 | - 'EK' => __( 'Ekiti', 'give' ), |
|
| 1158 | - 'EN' => __( 'Enugu', 'give' ), |
|
| 1159 | - 'GO' => __( 'Gombe', 'give' ), |
|
| 1160 | - 'IM' => __( 'Imo', 'give' ), |
|
| 1161 | - 'JI' => __( 'Jigawa', 'give' ), |
|
| 1162 | - 'KD' => __( 'Kaduna', 'give' ), |
|
| 1163 | - 'KN' => __( 'Kano', 'give' ), |
|
| 1164 | - 'KT' => __( 'Katsina', 'give' ), |
|
| 1165 | - 'KE' => __( 'Kebbi', 'give' ), |
|
| 1166 | - 'KO' => __( 'Kogi', 'give' ), |
|
| 1167 | - 'KW' => __( 'Kwara', 'give' ), |
|
| 1168 | - 'LA' => __( 'Lagos', 'give' ), |
|
| 1169 | - 'NA' => __( 'Nasarawa', 'give' ), |
|
| 1170 | - 'NI' => __( 'Niger', 'give' ), |
|
| 1171 | - 'OG' => __( 'Ogun', 'give' ), |
|
| 1172 | - 'ON' => __( 'Ondo', 'give' ), |
|
| 1173 | - 'OS' => __( 'Osun', 'give' ), |
|
| 1174 | - 'OY' => __( 'Oyo', 'give' ), |
|
| 1175 | - 'PL' => __( 'Plateau', 'give' ), |
|
| 1176 | - 'RI' => __( 'Rivers', 'give' ), |
|
| 1177 | - 'SO' => __( 'Sokoto', 'give' ), |
|
| 1178 | - 'TA' => __( 'Taraba', 'give' ), |
|
| 1179 | - 'YO' => __( 'Yobe', 'give' ), |
|
| 1180 | - 'ZA' => __( 'Zamfara', 'give' ), |
|
| 1144 | + 'AB' => __('Abia', 'give'), |
|
| 1145 | + 'FC' => __('Abuja', 'give'), |
|
| 1146 | + 'AD' => __('Adamawa', 'give'), |
|
| 1147 | + 'AK' => __('Akwa Ibom', 'give'), |
|
| 1148 | + 'AN' => __('Anambra', 'give'), |
|
| 1149 | + 'BA' => __('Bauchi', 'give'), |
|
| 1150 | + 'BY' => __('Bayelsa', 'give'), |
|
| 1151 | + 'BE' => __('Benue', 'give'), |
|
| 1152 | + 'BO' => __('Borno', 'give'), |
|
| 1153 | + 'CR' => __('Cross River', 'give'), |
|
| 1154 | + 'DE' => __('Delta', 'give'), |
|
| 1155 | + 'EB' => __('Ebonyi', 'give'), |
|
| 1156 | + 'ED' => __('Edo', 'give'), |
|
| 1157 | + 'EK' => __('Ekiti', 'give'), |
|
| 1158 | + 'EN' => __('Enugu', 'give'), |
|
| 1159 | + 'GO' => __('Gombe', 'give'), |
|
| 1160 | + 'IM' => __('Imo', 'give'), |
|
| 1161 | + 'JI' => __('Jigawa', 'give'), |
|
| 1162 | + 'KD' => __('Kaduna', 'give'), |
|
| 1163 | + 'KN' => __('Kano', 'give'), |
|
| 1164 | + 'KT' => __('Katsina', 'give'), |
|
| 1165 | + 'KE' => __('Kebbi', 'give'), |
|
| 1166 | + 'KO' => __('Kogi', 'give'), |
|
| 1167 | + 'KW' => __('Kwara', 'give'), |
|
| 1168 | + 'LA' => __('Lagos', 'give'), |
|
| 1169 | + 'NA' => __('Nasarawa', 'give'), |
|
| 1170 | + 'NI' => __('Niger', 'give'), |
|
| 1171 | + 'OG' => __('Ogun', 'give'), |
|
| 1172 | + 'ON' => __('Ondo', 'give'), |
|
| 1173 | + 'OS' => __('Osun', 'give'), |
|
| 1174 | + 'OY' => __('Oyo', 'give'), |
|
| 1175 | + 'PL' => __('Plateau', 'give'), |
|
| 1176 | + 'RI' => __('Rivers', 'give'), |
|
| 1177 | + 'SO' => __('Sokoto', 'give'), |
|
| 1178 | + 'TA' => __('Taraba', 'give'), |
|
| 1179 | + 'YO' => __('Yobe', 'give'), |
|
| 1180 | + 'ZA' => __('Zamfara', 'give'), |
|
| 1181 | 1181 | ); |
| 1182 | 1182 | |
| 1183 | - return apply_filters( 'give_nigerian_states', $states ); |
|
| 1183 | + return apply_filters('give_nigerian_states', $states); |
|
| 1184 | 1184 | } |
| 1185 | 1185 | |
| 1186 | 1186 | /** |
@@ -1192,41 +1192,41 @@ discard block |
||
| 1192 | 1192 | function give_get_mexico_states_list() { |
| 1193 | 1193 | $states = array( |
| 1194 | 1194 | '' => '', |
| 1195 | - 'Distrito Federal' => __( 'Distrito Federal', 'give' ), |
|
| 1196 | - 'Jalisco' => __( 'Jalisco', 'give' ), |
|
| 1197 | - 'Nuevo Leon' => __( 'Nuevo León', 'give' ), |
|
| 1198 | - 'Aguascalientes' => __( 'Aguascalientes', 'give' ), |
|
| 1199 | - 'Baja California' => __( 'Baja California', 'give' ), |
|
| 1200 | - 'Baja California Sur' => __( 'Baja California Sur', 'give' ), |
|
| 1201 | - 'Campeche' => __( 'Campeche', 'give' ), |
|
| 1202 | - 'Chiapas' => __( 'Chiapas', 'give' ), |
|
| 1203 | - 'Chihuahua' => __( 'Chihuahua', 'give' ), |
|
| 1204 | - 'Coahuila' => __( 'Coahuila', 'give' ), |
|
| 1205 | - 'Colima' => __( 'Colima', 'give' ), |
|
| 1206 | - 'Durango' => __( 'Durango', 'give' ), |
|
| 1207 | - 'Guanajuato' => __( 'Guanajuato', 'give' ), |
|
| 1208 | - 'Guerrero' => __( 'Guerrero', 'give' ), |
|
| 1209 | - 'Hidalgo' => __( 'Hidalgo', 'give' ), |
|
| 1210 | - 'Estado de Mexico' => __( 'Edo. de México', 'give' ), |
|
| 1211 | - 'Michoacan' => __( 'Michoacán', 'give' ), |
|
| 1212 | - 'Morelos' => __( 'Morelos', 'give' ), |
|
| 1213 | - 'Nayarit' => __( 'Nayarit', 'give' ), |
|
| 1214 | - 'Oaxaca' => __( 'Oaxaca', 'give' ), |
|
| 1215 | - 'Puebla' => __( 'Puebla', 'give' ), |
|
| 1216 | - 'Queretaro' => __( 'Querétaro', 'give' ), |
|
| 1217 | - 'Quintana Roo' => __( 'Quintana Roo', 'give' ), |
|
| 1218 | - 'San Luis Potosi' => __( 'San Luis Potosí', 'give' ), |
|
| 1219 | - 'Sinaloa' => __( 'Sinaloa', 'give' ), |
|
| 1220 | - 'Sonora' => __( 'Sonora', 'give' ), |
|
| 1221 | - 'Tabasco' => __( 'Tabasco', 'give' ), |
|
| 1222 | - 'Tamaulipas' => __( 'Tamaulipas', 'give' ), |
|
| 1223 | - 'Tlaxcala' => __( 'Tlaxcala', 'give' ), |
|
| 1224 | - 'Veracruz' => __( 'Veracruz', 'give' ), |
|
| 1225 | - 'Yucatan' => __( 'Yucatán', 'give' ), |
|
| 1226 | - 'Zacatecas' => __( 'Zacatecas', 'give' ), |
|
| 1195 | + 'Distrito Federal' => __('Distrito Federal', 'give'), |
|
| 1196 | + 'Jalisco' => __('Jalisco', 'give'), |
|
| 1197 | + 'Nuevo Leon' => __('Nuevo León', 'give'), |
|
| 1198 | + 'Aguascalientes' => __('Aguascalientes', 'give'), |
|
| 1199 | + 'Baja California' => __('Baja California', 'give'), |
|
| 1200 | + 'Baja California Sur' => __('Baja California Sur', 'give'), |
|
| 1201 | + 'Campeche' => __('Campeche', 'give'), |
|
| 1202 | + 'Chiapas' => __('Chiapas', 'give'), |
|
| 1203 | + 'Chihuahua' => __('Chihuahua', 'give'), |
|
| 1204 | + 'Coahuila' => __('Coahuila', 'give'), |
|
| 1205 | + 'Colima' => __('Colima', 'give'), |
|
| 1206 | + 'Durango' => __('Durango', 'give'), |
|
| 1207 | + 'Guanajuato' => __('Guanajuato', 'give'), |
|
| 1208 | + 'Guerrero' => __('Guerrero', 'give'), |
|
| 1209 | + 'Hidalgo' => __('Hidalgo', 'give'), |
|
| 1210 | + 'Estado de Mexico' => __('Edo. de México', 'give'), |
|
| 1211 | + 'Michoacan' => __('Michoacán', 'give'), |
|
| 1212 | + 'Morelos' => __('Morelos', 'give'), |
|
| 1213 | + 'Nayarit' => __('Nayarit', 'give'), |
|
| 1214 | + 'Oaxaca' => __('Oaxaca', 'give'), |
|
| 1215 | + 'Puebla' => __('Puebla', 'give'), |
|
| 1216 | + 'Queretaro' => __('Querétaro', 'give'), |
|
| 1217 | + 'Quintana Roo' => __('Quintana Roo', 'give'), |
|
| 1218 | + 'San Luis Potosi' => __('San Luis Potosí', 'give'), |
|
| 1219 | + 'Sinaloa' => __('Sinaloa', 'give'), |
|
| 1220 | + 'Sonora' => __('Sonora', 'give'), |
|
| 1221 | + 'Tabasco' => __('Tabasco', 'give'), |
|
| 1222 | + 'Tamaulipas' => __('Tamaulipas', 'give'), |
|
| 1223 | + 'Tlaxcala' => __('Tlaxcala', 'give'), |
|
| 1224 | + 'Veracruz' => __('Veracruz', 'give'), |
|
| 1225 | + 'Yucatan' => __('Yucatán', 'give'), |
|
| 1226 | + 'Zacatecas' => __('Zacatecas', 'give'), |
|
| 1227 | 1227 | ); |
| 1228 | 1228 | |
| 1229 | - return apply_filters( 'give_mexico_states', $states ); |
|
| 1229 | + return apply_filters('give_mexico_states', $states); |
|
| 1230 | 1230 | } |
| 1231 | 1231 | |
| 1232 | 1232 | /** |
@@ -1238,56 +1238,56 @@ discard block |
||
| 1238 | 1238 | function give_get_japan_states_list() { |
| 1239 | 1239 | $states = array( |
| 1240 | 1240 | '' => '', |
| 1241 | - 'JP01' => __( 'Hokkaido', 'give' ), |
|
| 1242 | - 'JP02' => __( 'Aomori', 'give' ), |
|
| 1243 | - 'JP03' => __( 'Iwate', 'give' ), |
|
| 1244 | - 'JP04' => __( 'Miyagi', 'give' ), |
|
| 1245 | - 'JP05' => __( 'Akita', 'give' ), |
|
| 1246 | - 'JP06' => __( 'Yamagata', 'give' ), |
|
| 1247 | - 'JP07' => __( 'Fukushima', 'give' ), |
|
| 1248 | - 'JP08' => __( 'Ibaraki', 'give' ), |
|
| 1249 | - 'JP09' => __( 'Tochigi', 'give' ), |
|
| 1250 | - 'JP10' => __( 'Gunma', 'give' ), |
|
| 1251 | - 'JP11' => __( 'Saitama', 'give' ), |
|
| 1252 | - 'JP12' => __( 'Chiba', 'give' ), |
|
| 1253 | - 'JP13' => __( 'Tokyo', 'give' ), |
|
| 1254 | - 'JP14' => __( 'Kanagawa', 'give' ), |
|
| 1255 | - 'JP15' => __( 'Niigata', 'give' ), |
|
| 1256 | - 'JP16' => __( 'Toyama', 'give' ), |
|
| 1257 | - 'JP17' => __( 'Ishikawa', 'give' ), |
|
| 1258 | - 'JP18' => __( 'Fukui', 'give' ), |
|
| 1259 | - 'JP19' => __( 'Yamanashi', 'give' ), |
|
| 1260 | - 'JP20' => __( 'Nagano', 'give' ), |
|
| 1261 | - 'JP21' => __( 'Gifu', 'give' ), |
|
| 1262 | - 'JP22' => __( 'Shizuoka', 'give' ), |
|
| 1263 | - 'JP23' => __( 'Aichi', 'give' ), |
|
| 1264 | - 'JP24' => __( 'Mie', 'give' ), |
|
| 1265 | - 'JP25' => __( 'Shiga', 'give' ), |
|
| 1266 | - 'JP26' => __( 'Kyoto', 'give' ), |
|
| 1267 | - 'JP27' => __( 'Osaka', 'give' ), |
|
| 1268 | - 'JP28' => __( 'Hyogo', 'give' ), |
|
| 1269 | - 'JP29' => __( 'Nara', 'give' ), |
|
| 1270 | - 'JP30' => __( 'Wakayama', 'give' ), |
|
| 1271 | - 'JP31' => __( 'Tottori', 'give' ), |
|
| 1272 | - 'JP32' => __( 'Shimane', 'give' ), |
|
| 1273 | - 'JP33' => __( 'Okayama', 'give' ), |
|
| 1274 | - 'JP34' => __( 'Hiroshima', 'give' ), |
|
| 1275 | - 'JP35' => __( 'Yamaguchi', 'give' ), |
|
| 1276 | - 'JP36' => __( 'Tokushima', 'give' ), |
|
| 1277 | - 'JP37' => __( 'Kagawa', 'give' ), |
|
| 1278 | - 'JP38' => __( 'Ehime', 'give' ), |
|
| 1279 | - 'JP39' => __( 'Kochi', 'give' ), |
|
| 1280 | - 'JP40' => __( 'Fukuoka', 'give' ), |
|
| 1281 | - 'JP41' => __( 'Saga', 'give' ), |
|
| 1282 | - 'JP42' => __( 'Nagasaki', 'give' ), |
|
| 1283 | - 'JP43' => __( 'Kumamoto', 'give' ), |
|
| 1284 | - 'JP44' => __( 'Oita', 'give' ), |
|
| 1285 | - 'JP45' => __( 'Miyazaki', 'give' ), |
|
| 1286 | - 'JP46' => __( 'Kagoshima', 'give' ), |
|
| 1287 | - 'JP47' => __( 'Okinawa', 'give' ), |
|
| 1241 | + 'JP01' => __('Hokkaido', 'give'), |
|
| 1242 | + 'JP02' => __('Aomori', 'give'), |
|
| 1243 | + 'JP03' => __('Iwate', 'give'), |
|
| 1244 | + 'JP04' => __('Miyagi', 'give'), |
|
| 1245 | + 'JP05' => __('Akita', 'give'), |
|
| 1246 | + 'JP06' => __('Yamagata', 'give'), |
|
| 1247 | + 'JP07' => __('Fukushima', 'give'), |
|
| 1248 | + 'JP08' => __('Ibaraki', 'give'), |
|
| 1249 | + 'JP09' => __('Tochigi', 'give'), |
|
| 1250 | + 'JP10' => __('Gunma', 'give'), |
|
| 1251 | + 'JP11' => __('Saitama', 'give'), |
|
| 1252 | + 'JP12' => __('Chiba', 'give'), |
|
| 1253 | + 'JP13' => __('Tokyo', 'give'), |
|
| 1254 | + 'JP14' => __('Kanagawa', 'give'), |
|
| 1255 | + 'JP15' => __('Niigata', 'give'), |
|
| 1256 | + 'JP16' => __('Toyama', 'give'), |
|
| 1257 | + 'JP17' => __('Ishikawa', 'give'), |
|
| 1258 | + 'JP18' => __('Fukui', 'give'), |
|
| 1259 | + 'JP19' => __('Yamanashi', 'give'), |
|
| 1260 | + 'JP20' => __('Nagano', 'give'), |
|
| 1261 | + 'JP21' => __('Gifu', 'give'), |
|
| 1262 | + 'JP22' => __('Shizuoka', 'give'), |
|
| 1263 | + 'JP23' => __('Aichi', 'give'), |
|
| 1264 | + 'JP24' => __('Mie', 'give'), |
|
| 1265 | + 'JP25' => __('Shiga', 'give'), |
|
| 1266 | + 'JP26' => __('Kyoto', 'give'), |
|
| 1267 | + 'JP27' => __('Osaka', 'give'), |
|
| 1268 | + 'JP28' => __('Hyogo', 'give'), |
|
| 1269 | + 'JP29' => __('Nara', 'give'), |
|
| 1270 | + 'JP30' => __('Wakayama', 'give'), |
|
| 1271 | + 'JP31' => __('Tottori', 'give'), |
|
| 1272 | + 'JP32' => __('Shimane', 'give'), |
|
| 1273 | + 'JP33' => __('Okayama', 'give'), |
|
| 1274 | + 'JP34' => __('Hiroshima', 'give'), |
|
| 1275 | + 'JP35' => __('Yamaguchi', 'give'), |
|
| 1276 | + 'JP36' => __('Tokushima', 'give'), |
|
| 1277 | + 'JP37' => __('Kagawa', 'give'), |
|
| 1278 | + 'JP38' => __('Ehime', 'give'), |
|
| 1279 | + 'JP39' => __('Kochi', 'give'), |
|
| 1280 | + 'JP40' => __('Fukuoka', 'give'), |
|
| 1281 | + 'JP41' => __('Saga', 'give'), |
|
| 1282 | + 'JP42' => __('Nagasaki', 'give'), |
|
| 1283 | + 'JP43' => __('Kumamoto', 'give'), |
|
| 1284 | + 'JP44' => __('Oita', 'give'), |
|
| 1285 | + 'JP45' => __('Miyazaki', 'give'), |
|
| 1286 | + 'JP46' => __('Kagoshima', 'give'), |
|
| 1287 | + 'JP47' => __('Okinawa', 'give'), |
|
| 1288 | 1288 | ); |
| 1289 | 1289 | |
| 1290 | - return apply_filters( 'give_japan_states', $states ); |
|
| 1290 | + return apply_filters('give_japan_states', $states); |
|
| 1291 | 1291 | } |
| 1292 | 1292 | |
| 1293 | 1293 | /** |
@@ -1299,119 +1299,119 @@ discard block |
||
| 1299 | 1299 | function give_get_italy_states_list() { |
| 1300 | 1300 | $states = array( |
| 1301 | 1301 | '' => '', |
| 1302 | - 'AG' => __( 'Agrigento', 'give' ), |
|
| 1303 | - 'AL' => __( 'Alessandria', 'give' ), |
|
| 1304 | - 'AN' => __( 'Ancona', 'give' ), |
|
| 1305 | - 'AO' => __( 'Aosta', 'give' ), |
|
| 1306 | - 'AR' => __( 'Arezzo', 'give' ), |
|
| 1307 | - 'AP' => __( 'Ascoli Piceno', 'give' ), |
|
| 1308 | - 'AT' => __( 'Asti', 'give' ), |
|
| 1309 | - 'AV' => __( 'Avellino', 'give' ), |
|
| 1310 | - 'BA' => __( 'Bari', 'give' ), |
|
| 1311 | - 'BT' => __( 'Barletta-Andria-Trani', 'give' ), |
|
| 1312 | - 'BL' => __( 'Belluno', 'give' ), |
|
| 1313 | - 'BN' => __( 'Benevento', 'give' ), |
|
| 1314 | - 'BG' => __( 'Bergamo', 'give' ), |
|
| 1315 | - 'BI' => __( 'Biella', 'give' ), |
|
| 1316 | - 'BO' => __( 'Bologna', 'give' ), |
|
| 1317 | - 'BZ' => __( 'Bolzano', 'give' ), |
|
| 1318 | - 'BS' => __( 'Brescia', 'give' ), |
|
| 1319 | - 'BR' => __( 'Brindisi', 'give' ), |
|
| 1320 | - 'CA' => __( 'Cagliari', 'give' ), |
|
| 1321 | - 'CL' => __( 'Caltanissetta', 'give' ), |
|
| 1322 | - 'CB' => __( 'Campobasso', 'give' ), |
|
| 1323 | - 'CI' => __( 'Carbonia-Iglesias', 'give' ), |
|
| 1324 | - 'CE' => __( 'Caserta', 'give' ), |
|
| 1325 | - 'CT' => __( 'Catania', 'give' ), |
|
| 1326 | - 'CZ' => __( 'Catanzaro', 'give' ), |
|
| 1327 | - 'CH' => __( 'Chieti', 'give' ), |
|
| 1328 | - 'CO' => __( 'Como', 'give' ), |
|
| 1329 | - 'CS' => __( 'Cosenza', 'give' ), |
|
| 1330 | - 'CR' => __( 'Cremona', 'give' ), |
|
| 1331 | - 'KR' => __( 'Crotone', 'give' ), |
|
| 1332 | - 'CN' => __( 'Cuneo', 'give' ), |
|
| 1333 | - 'EN' => __( 'Enna', 'give' ), |
|
| 1334 | - 'FM' => __( 'Fermo', 'give' ), |
|
| 1335 | - 'FE' => __( 'Ferrara', 'give' ), |
|
| 1336 | - 'FI' => __( 'Firenze', 'give' ), |
|
| 1337 | - 'FG' => __( 'Foggia', 'give' ), |
|
| 1338 | - 'FC' => __( 'Forlì-Cesena', 'give' ), |
|
| 1339 | - 'FR' => __( 'Frosinone', 'give' ), |
|
| 1340 | - 'GE' => __( 'Genova', 'give' ), |
|
| 1341 | - 'GO' => __( 'Gorizia', 'give' ), |
|
| 1342 | - 'GR' => __( 'Grosseto', 'give' ), |
|
| 1343 | - 'IM' => __( 'Imperia', 'give' ), |
|
| 1344 | - 'IS' => __( 'Isernia', 'give' ), |
|
| 1345 | - 'SP' => __( 'La Spezia', 'give' ), |
|
| 1346 | - 'AQ' => __( "L'Aquila", 'give' ), |
|
| 1347 | - 'LT' => __( 'Latina', 'give' ), |
|
| 1348 | - 'LE' => __( 'Lecce', 'give' ), |
|
| 1349 | - 'LC' => __( 'Lecco', 'give' ), |
|
| 1350 | - 'LI' => __( 'Livorno', 'give' ), |
|
| 1351 | - 'LO' => __( 'Lodi', 'give' ), |
|
| 1352 | - 'LU' => __( 'Lucca', 'give' ), |
|
| 1353 | - 'MC' => __( 'Macerata', 'give' ), |
|
| 1354 | - 'MN' => __( 'Mantova', 'give' ), |
|
| 1355 | - 'MS' => __( 'Massa-Carrara', 'give' ), |
|
| 1356 | - 'MT' => __( 'Matera', 'give' ), |
|
| 1357 | - 'ME' => __( 'Messina', 'give' ), |
|
| 1358 | - 'MI' => __( 'Milano', 'give' ), |
|
| 1359 | - 'MO' => __( 'Modena', 'give' ), |
|
| 1360 | - 'MB' => __( 'Monza e della Brianza', 'give' ), |
|
| 1361 | - 'NA' => __( 'Napoli', 'give' ), |
|
| 1362 | - 'NO' => __( 'Novara', 'give' ), |
|
| 1363 | - 'NU' => __( 'Nuoro', 'give' ), |
|
| 1364 | - 'OT' => __( 'Olbia-Tempio', 'give' ), |
|
| 1365 | - 'OR' => __( 'Oristano', 'give' ), |
|
| 1366 | - 'PD' => __( 'Padova', 'give' ), |
|
| 1367 | - 'PA' => __( 'Palermo', 'give' ), |
|
| 1368 | - 'PR' => __( 'Parma', 'give' ), |
|
| 1369 | - 'PV' => __( 'Pavia', 'give' ), |
|
| 1370 | - 'PG' => __( 'Perugia', 'give' ), |
|
| 1371 | - 'PU' => __( 'Pesaro e Urbino', 'give' ), |
|
| 1372 | - 'PE' => __( 'Pescara', 'give' ), |
|
| 1373 | - 'PC' => __( 'Piacenza', 'give' ), |
|
| 1374 | - 'PI' => __( 'Pisa', 'give' ), |
|
| 1375 | - 'PT' => __( 'Pistoia', 'give' ), |
|
| 1376 | - 'PN' => __( 'Pordenone', 'give' ), |
|
| 1377 | - 'PZ' => __( 'Potenza', 'give' ), |
|
| 1378 | - 'PO' => __( 'Prato', 'give' ), |
|
| 1379 | - 'RG' => __( 'Ragusa', 'give' ), |
|
| 1380 | - 'RA' => __( 'Ravenna', 'give' ), |
|
| 1381 | - 'RC' => __( 'Reggio Calabria', 'give' ), |
|
| 1382 | - 'RE' => __( 'Reggio Emilia', 'give' ), |
|
| 1383 | - 'RI' => __( 'Rieti', 'give' ), |
|
| 1384 | - 'RN' => __( 'Rimini', 'give' ), |
|
| 1385 | - 'RM' => __( 'Roma', 'give' ), |
|
| 1386 | - 'RO' => __( 'Rovigo', 'give' ), |
|
| 1387 | - 'SA' => __( 'Salerno', 'give' ), |
|
| 1388 | - 'VS' => __( 'Medio Campidano', 'give' ), |
|
| 1389 | - 'SS' => __( 'Sassari', 'give' ), |
|
| 1390 | - 'SV' => __( 'Savona', 'give' ), |
|
| 1391 | - 'SI' => __( 'Siena', 'give' ), |
|
| 1392 | - 'SR' => __( 'Siracusa', 'give' ), |
|
| 1393 | - 'SO' => __( 'Sondrio', 'give' ), |
|
| 1394 | - 'TA' => __( 'Taranto', 'give' ), |
|
| 1395 | - 'TE' => __( 'Teramo', 'give' ), |
|
| 1396 | - 'TR' => __( 'Terni', 'give' ), |
|
| 1397 | - 'TO' => __( 'Torino', 'give' ), |
|
| 1398 | - 'OG' => __( 'Ogliastra', 'give' ), |
|
| 1399 | - 'TP' => __( 'Trapani', 'give' ), |
|
| 1400 | - 'TN' => __( 'Trento', 'give' ), |
|
| 1401 | - 'TV' => __( 'Treviso', 'give' ), |
|
| 1402 | - 'TS' => __( 'Trieste', 'give' ), |
|
| 1403 | - 'UD' => __( 'Udine', 'give' ), |
|
| 1404 | - 'VA' => __( 'Varese', 'give' ), |
|
| 1405 | - 'VE' => __( 'Venezia', 'give' ), |
|
| 1406 | - 'VB' => __( 'Verbano-Cusio-Ossola', 'give' ), |
|
| 1407 | - 'VC' => __( 'Vercelli', 'give' ), |
|
| 1408 | - 'VR' => __( 'Verona', 'give' ), |
|
| 1409 | - 'VV' => __( 'Vibo Valentia', 'give' ), |
|
| 1410 | - 'VI' => __( 'Vicenza', 'give' ), |
|
| 1411 | - 'VT' => __( 'Viterbo', 'give' ), |
|
| 1302 | + 'AG' => __('Agrigento', 'give'), |
|
| 1303 | + 'AL' => __('Alessandria', 'give'), |
|
| 1304 | + 'AN' => __('Ancona', 'give'), |
|
| 1305 | + 'AO' => __('Aosta', 'give'), |
|
| 1306 | + 'AR' => __('Arezzo', 'give'), |
|
| 1307 | + 'AP' => __('Ascoli Piceno', 'give'), |
|
| 1308 | + 'AT' => __('Asti', 'give'), |
|
| 1309 | + 'AV' => __('Avellino', 'give'), |
|
| 1310 | + 'BA' => __('Bari', 'give'), |
|
| 1311 | + 'BT' => __('Barletta-Andria-Trani', 'give'), |
|
| 1312 | + 'BL' => __('Belluno', 'give'), |
|
| 1313 | + 'BN' => __('Benevento', 'give'), |
|
| 1314 | + 'BG' => __('Bergamo', 'give'), |
|
| 1315 | + 'BI' => __('Biella', 'give'), |
|
| 1316 | + 'BO' => __('Bologna', 'give'), |
|
| 1317 | + 'BZ' => __('Bolzano', 'give'), |
|
| 1318 | + 'BS' => __('Brescia', 'give'), |
|
| 1319 | + 'BR' => __('Brindisi', 'give'), |
|
| 1320 | + 'CA' => __('Cagliari', 'give'), |
|
| 1321 | + 'CL' => __('Caltanissetta', 'give'), |
|
| 1322 | + 'CB' => __('Campobasso', 'give'), |
|
| 1323 | + 'CI' => __('Carbonia-Iglesias', 'give'), |
|
| 1324 | + 'CE' => __('Caserta', 'give'), |
|
| 1325 | + 'CT' => __('Catania', 'give'), |
|
| 1326 | + 'CZ' => __('Catanzaro', 'give'), |
|
| 1327 | + 'CH' => __('Chieti', 'give'), |
|
| 1328 | + 'CO' => __('Como', 'give'), |
|
| 1329 | + 'CS' => __('Cosenza', 'give'), |
|
| 1330 | + 'CR' => __('Cremona', 'give'), |
|
| 1331 | + 'KR' => __('Crotone', 'give'), |
|
| 1332 | + 'CN' => __('Cuneo', 'give'), |
|
| 1333 | + 'EN' => __('Enna', 'give'), |
|
| 1334 | + 'FM' => __('Fermo', 'give'), |
|
| 1335 | + 'FE' => __('Ferrara', 'give'), |
|
| 1336 | + 'FI' => __('Firenze', 'give'), |
|
| 1337 | + 'FG' => __('Foggia', 'give'), |
|
| 1338 | + 'FC' => __('Forlì-Cesena', 'give'), |
|
| 1339 | + 'FR' => __('Frosinone', 'give'), |
|
| 1340 | + 'GE' => __('Genova', 'give'), |
|
| 1341 | + 'GO' => __('Gorizia', 'give'), |
|
| 1342 | + 'GR' => __('Grosseto', 'give'), |
|
| 1343 | + 'IM' => __('Imperia', 'give'), |
|
| 1344 | + 'IS' => __('Isernia', 'give'), |
|
| 1345 | + 'SP' => __('La Spezia', 'give'), |
|
| 1346 | + 'AQ' => __("L'Aquila", 'give'), |
|
| 1347 | + 'LT' => __('Latina', 'give'), |
|
| 1348 | + 'LE' => __('Lecce', 'give'), |
|
| 1349 | + 'LC' => __('Lecco', 'give'), |
|
| 1350 | + 'LI' => __('Livorno', 'give'), |
|
| 1351 | + 'LO' => __('Lodi', 'give'), |
|
| 1352 | + 'LU' => __('Lucca', 'give'), |
|
| 1353 | + 'MC' => __('Macerata', 'give'), |
|
| 1354 | + 'MN' => __('Mantova', 'give'), |
|
| 1355 | + 'MS' => __('Massa-Carrara', 'give'), |
|
| 1356 | + 'MT' => __('Matera', 'give'), |
|
| 1357 | + 'ME' => __('Messina', 'give'), |
|
| 1358 | + 'MI' => __('Milano', 'give'), |
|
| 1359 | + 'MO' => __('Modena', 'give'), |
|
| 1360 | + 'MB' => __('Monza e della Brianza', 'give'), |
|
| 1361 | + 'NA' => __('Napoli', 'give'), |
|
| 1362 | + 'NO' => __('Novara', 'give'), |
|
| 1363 | + 'NU' => __('Nuoro', 'give'), |
|
| 1364 | + 'OT' => __('Olbia-Tempio', 'give'), |
|
| 1365 | + 'OR' => __('Oristano', 'give'), |
|
| 1366 | + 'PD' => __('Padova', 'give'), |
|
| 1367 | + 'PA' => __('Palermo', 'give'), |
|
| 1368 | + 'PR' => __('Parma', 'give'), |
|
| 1369 | + 'PV' => __('Pavia', 'give'), |
|
| 1370 | + 'PG' => __('Perugia', 'give'), |
|
| 1371 | + 'PU' => __('Pesaro e Urbino', 'give'), |
|
| 1372 | + 'PE' => __('Pescara', 'give'), |
|
| 1373 | + 'PC' => __('Piacenza', 'give'), |
|
| 1374 | + 'PI' => __('Pisa', 'give'), |
|
| 1375 | + 'PT' => __('Pistoia', 'give'), |
|
| 1376 | + 'PN' => __('Pordenone', 'give'), |
|
| 1377 | + 'PZ' => __('Potenza', 'give'), |
|
| 1378 | + 'PO' => __('Prato', 'give'), |
|
| 1379 | + 'RG' => __('Ragusa', 'give'), |
|
| 1380 | + 'RA' => __('Ravenna', 'give'), |
|
| 1381 | + 'RC' => __('Reggio Calabria', 'give'), |
|
| 1382 | + 'RE' => __('Reggio Emilia', 'give'), |
|
| 1383 | + 'RI' => __('Rieti', 'give'), |
|
| 1384 | + 'RN' => __('Rimini', 'give'), |
|
| 1385 | + 'RM' => __('Roma', 'give'), |
|
| 1386 | + 'RO' => __('Rovigo', 'give'), |
|
| 1387 | + 'SA' => __('Salerno', 'give'), |
|
| 1388 | + 'VS' => __('Medio Campidano', 'give'), |
|
| 1389 | + 'SS' => __('Sassari', 'give'), |
|
| 1390 | + 'SV' => __('Savona', 'give'), |
|
| 1391 | + 'SI' => __('Siena', 'give'), |
|
| 1392 | + 'SR' => __('Siracusa', 'give'), |
|
| 1393 | + 'SO' => __('Sondrio', 'give'), |
|
| 1394 | + 'TA' => __('Taranto', 'give'), |
|
| 1395 | + 'TE' => __('Teramo', 'give'), |
|
| 1396 | + 'TR' => __('Terni', 'give'), |
|
| 1397 | + 'TO' => __('Torino', 'give'), |
|
| 1398 | + 'OG' => __('Ogliastra', 'give'), |
|
| 1399 | + 'TP' => __('Trapani', 'give'), |
|
| 1400 | + 'TN' => __('Trento', 'give'), |
|
| 1401 | + 'TV' => __('Treviso', 'give'), |
|
| 1402 | + 'TS' => __('Trieste', 'give'), |
|
| 1403 | + 'UD' => __('Udine', 'give'), |
|
| 1404 | + 'VA' => __('Varese', 'give'), |
|
| 1405 | + 'VE' => __('Venezia', 'give'), |
|
| 1406 | + 'VB' => __('Verbano-Cusio-Ossola', 'give'), |
|
| 1407 | + 'VC' => __('Vercelli', 'give'), |
|
| 1408 | + 'VR' => __('Verona', 'give'), |
|
| 1409 | + 'VV' => __('Vibo Valentia', 'give'), |
|
| 1410 | + 'VI' => __('Vicenza', 'give'), |
|
| 1411 | + 'VT' => __('Viterbo', 'give'), |
|
| 1412 | 1412 | ); |
| 1413 | 1413 | |
| 1414 | - return apply_filters( 'give_italy_states', $states ); |
|
| 1414 | + return apply_filters('give_italy_states', $states); |
|
| 1415 | 1415 | } |
| 1416 | 1416 | |
| 1417 | 1417 | /** |
@@ -1423,40 +1423,40 @@ discard block |
||
| 1423 | 1423 | function give_get_iran_states_list() { |
| 1424 | 1424 | $states = array( |
| 1425 | 1425 | '' => '', |
| 1426 | - 'KHZ' => __( 'Khuzestan (خوزستان)', 'give' ), |
|
| 1427 | - 'THR' => __( 'Tehran (تهران)', 'give' ), |
|
| 1428 | - 'ILM' => __( 'Ilaam (ایلام)', 'give' ), |
|
| 1429 | - 'BHR' => __( 'Bushehr (بوشهر)', 'give' ), |
|
| 1430 | - 'ADL' => __( 'Ardabil (اردبیل)', 'give' ), |
|
| 1431 | - 'ESF' => __( 'Isfahan (اصفهان)', 'give' ), |
|
| 1432 | - 'YZD' => __( 'Yazd (یزد)', 'give' ), |
|
| 1433 | - 'KRH' => __( 'Kermanshah (کرمانشاه)', 'give' ), |
|
| 1434 | - 'KRN' => __( 'Kerman (کرمان)', 'give' ), |
|
| 1435 | - 'HDN' => __( 'Hamadan (همدان)', 'give' ), |
|
| 1436 | - 'GZN' => __( 'Ghazvin (قزوین)', 'give' ), |
|
| 1437 | - 'ZJN' => __( 'Zanjan (زنجان)', 'give' ), |
|
| 1438 | - 'LRS' => __( 'Luristan (لرستان)', 'give' ), |
|
| 1439 | - 'ABZ' => __( 'Alborz (البرز)', 'give' ), |
|
| 1440 | - 'EAZ' => __( 'East Azarbaijan (آذربایجان شرقی)', 'give' ), |
|
| 1441 | - 'WAZ' => __( 'West Azarbaijan (آذربایجان غربی)', 'give' ), |
|
| 1442 | - 'CHB' => __( 'Chaharmahal and Bakhtiari (چهارمحال و بختیاری)', 'give' ), |
|
| 1443 | - 'SKH' => __( 'South Khorasan (خراسان جنوبی)', 'give' ), |
|
| 1444 | - 'RKH' => __( 'Razavi Khorasan (خراسان رضوی)', 'give' ), |
|
| 1445 | - 'NKH' => __( 'North Khorasan (خراسان جنوبی)', 'give' ), |
|
| 1446 | - 'SMN' => __( 'Semnan (سمنان)', 'give' ), |
|
| 1447 | - 'FRS' => __( 'Fars (فارس)', 'give' ), |
|
| 1448 | - 'QHM' => __( 'Qom (قم)', 'give' ), |
|
| 1449 | - 'KRD' => __( 'Kurdistan / کردستان)', 'give' ), |
|
| 1450 | - 'KBD' => __( 'Kohgiluyeh and BoyerAhmad (کهگیلوییه و بویراحمد)', 'give' ), |
|
| 1451 | - 'GLS' => __( 'Golestan (گلستان)', 'give' ), |
|
| 1452 | - 'GIL' => __( 'Gilan (گیلان)', 'give' ), |
|
| 1453 | - 'MZN' => __( 'Mazandaran (مازندران)', 'give' ), |
|
| 1454 | - 'MKZ' => __( 'Markazi (مرکزی)', 'give' ), |
|
| 1455 | - 'HRZ' => __( 'Hormozgan (هرمزگان)', 'give' ), |
|
| 1456 | - 'SBN' => __( 'Sistan and Baluchestan (سیستان و بلوچستان)', 'give' ), |
|
| 1426 | + 'KHZ' => __('Khuzestan (خوزستان)', 'give'), |
|
| 1427 | + 'THR' => __('Tehran (تهران)', 'give'), |
|
| 1428 | + 'ILM' => __('Ilaam (ایلام)', 'give'), |
|
| 1429 | + 'BHR' => __('Bushehr (بوشهر)', 'give'), |
|
| 1430 | + 'ADL' => __('Ardabil (اردبیل)', 'give'), |
|
| 1431 | + 'ESF' => __('Isfahan (اصفهان)', 'give'), |
|
| 1432 | + 'YZD' => __('Yazd (یزد)', 'give'), |
|
| 1433 | + 'KRH' => __('Kermanshah (کرمانشاه)', 'give'), |
|
| 1434 | + 'KRN' => __('Kerman (کرمان)', 'give'), |
|
| 1435 | + 'HDN' => __('Hamadan (همدان)', 'give'), |
|
| 1436 | + 'GZN' => __('Ghazvin (قزوین)', 'give'), |
|
| 1437 | + 'ZJN' => __('Zanjan (زنجان)', 'give'), |
|
| 1438 | + 'LRS' => __('Luristan (لرستان)', 'give'), |
|
| 1439 | + 'ABZ' => __('Alborz (البرز)', 'give'), |
|
| 1440 | + 'EAZ' => __('East Azarbaijan (آذربایجان شرقی)', 'give'), |
|
| 1441 | + 'WAZ' => __('West Azarbaijan (آذربایجان غربی)', 'give'), |
|
| 1442 | + 'CHB' => __('Chaharmahal and Bakhtiari (چهارمحال و بختیاری)', 'give'), |
|
| 1443 | + 'SKH' => __('South Khorasan (خراسان جنوبی)', 'give'), |
|
| 1444 | + 'RKH' => __('Razavi Khorasan (خراسان رضوی)', 'give'), |
|
| 1445 | + 'NKH' => __('North Khorasan (خراسان جنوبی)', 'give'), |
|
| 1446 | + 'SMN' => __('Semnan (سمنان)', 'give'), |
|
| 1447 | + 'FRS' => __('Fars (فارس)', 'give'), |
|
| 1448 | + 'QHM' => __('Qom (قم)', 'give'), |
|
| 1449 | + 'KRD' => __('Kurdistan / کردستان)', 'give'), |
|
| 1450 | + 'KBD' => __('Kohgiluyeh and BoyerAhmad (کهگیلوییه و بویراحمد)', 'give'), |
|
| 1451 | + 'GLS' => __('Golestan (گلستان)', 'give'), |
|
| 1452 | + 'GIL' => __('Gilan (گیلان)', 'give'), |
|
| 1453 | + 'MZN' => __('Mazandaran (مازندران)', 'give'), |
|
| 1454 | + 'MKZ' => __('Markazi (مرکزی)', 'give'), |
|
| 1455 | + 'HRZ' => __('Hormozgan (هرمزگان)', 'give'), |
|
| 1456 | + 'SBN' => __('Sistan and Baluchestan (سیستان و بلوچستان)', 'give'), |
|
| 1457 | 1457 | ); |
| 1458 | 1458 | |
| 1459 | - return apply_filters( 'give_iran_states', $states ); |
|
| 1459 | + return apply_filters('give_iran_states', $states); |
|
| 1460 | 1460 | } |
| 1461 | 1461 | |
| 1462 | 1462 | /** |
@@ -1468,35 +1468,35 @@ discard block |
||
| 1468 | 1468 | function give_get_ireland_states_list() { |
| 1469 | 1469 | $states = array( |
| 1470 | 1470 | '' => '', |
| 1471 | - 'CE' => __( 'Clare', 'give' ), |
|
| 1472 | - 'CK' => __( 'Cork', 'give' ), |
|
| 1473 | - 'CN' => __( 'Cavan', 'give' ), |
|
| 1474 | - 'CW' => __( 'Carlow', 'give' ), |
|
| 1475 | - 'DL' => __( 'Donegal', 'give' ), |
|
| 1476 | - 'DN' => __( 'Dublin', 'give' ), |
|
| 1477 | - 'GY' => __( 'Galway', 'give' ), |
|
| 1478 | - 'KE' => __( 'Kildare', 'give' ), |
|
| 1479 | - 'KK' => __( 'Kilkenny', 'give' ), |
|
| 1480 | - 'KY' => __( 'Kerry', 'give' ), |
|
| 1481 | - 'LD' => __( 'Longford', 'give' ), |
|
| 1482 | - 'LH' => __( 'Louth', 'give' ), |
|
| 1483 | - 'LK' => __( 'Limerick', 'give' ), |
|
| 1484 | - 'LM' => __( 'Leitrim', 'give' ), |
|
| 1485 | - 'LS' => __( 'Laois', 'give' ), |
|
| 1486 | - 'MH' => __( 'Meath', 'give' ), |
|
| 1487 | - 'MN' => __( 'Monaghan', 'give' ), |
|
| 1488 | - 'MO' => __( 'Mayo', 'give' ), |
|
| 1489 | - 'OY' => __( 'Offaly', 'give' ), |
|
| 1490 | - 'RN' => __( 'Roscommon', 'give' ), |
|
| 1491 | - 'SO' => __( 'Sligo', 'give' ), |
|
| 1492 | - 'TY' => __( 'Tipperary', 'give' ), |
|
| 1493 | - 'WD' => __( 'Waterford', 'give' ), |
|
| 1494 | - 'WH' => __( 'Westmeath', 'give' ), |
|
| 1495 | - 'WW' => __( 'Wicklow', 'give' ), |
|
| 1496 | - 'WX' => __( 'Wexford', 'give' ), |
|
| 1471 | + 'CE' => __('Clare', 'give'), |
|
| 1472 | + 'CK' => __('Cork', 'give'), |
|
| 1473 | + 'CN' => __('Cavan', 'give'), |
|
| 1474 | + 'CW' => __('Carlow', 'give'), |
|
| 1475 | + 'DL' => __('Donegal', 'give'), |
|
| 1476 | + 'DN' => __('Dublin', 'give'), |
|
| 1477 | + 'GY' => __('Galway', 'give'), |
|
| 1478 | + 'KE' => __('Kildare', 'give'), |
|
| 1479 | + 'KK' => __('Kilkenny', 'give'), |
|
| 1480 | + 'KY' => __('Kerry', 'give'), |
|
| 1481 | + 'LD' => __('Longford', 'give'), |
|
| 1482 | + 'LH' => __('Louth', 'give'), |
|
| 1483 | + 'LK' => __('Limerick', 'give'), |
|
| 1484 | + 'LM' => __('Leitrim', 'give'), |
|
| 1485 | + 'LS' => __('Laois', 'give'), |
|
| 1486 | + 'MH' => __('Meath', 'give'), |
|
| 1487 | + 'MN' => __('Monaghan', 'give'), |
|
| 1488 | + 'MO' => __('Mayo', 'give'), |
|
| 1489 | + 'OY' => __('Offaly', 'give'), |
|
| 1490 | + 'RN' => __('Roscommon', 'give'), |
|
| 1491 | + 'SO' => __('Sligo', 'give'), |
|
| 1492 | + 'TY' => __('Tipperary', 'give'), |
|
| 1493 | + 'WD' => __('Waterford', 'give'), |
|
| 1494 | + 'WH' => __('Westmeath', 'give'), |
|
| 1495 | + 'WW' => __('Wicklow', 'give'), |
|
| 1496 | + 'WX' => __('Wexford', 'give'), |
|
| 1497 | 1497 | ); |
| 1498 | 1498 | |
| 1499 | - return apply_filters( 'give_ireland_states', $states ); |
|
| 1499 | + return apply_filters('give_ireland_states', $states); |
|
| 1500 | 1500 | } |
| 1501 | 1501 | |
| 1502 | 1502 | /** |
@@ -1508,22 +1508,22 @@ discard block |
||
| 1508 | 1508 | function give_get_greek_states_list() { |
| 1509 | 1509 | $states = array( |
| 1510 | 1510 | '' => '', |
| 1511 | - 'I' => __( 'Αττική', 'give' ), |
|
| 1512 | - 'A' => __( 'Ανατολική Μακεδονία και Θράκη', 'give' ), |
|
| 1513 | - 'B' => __( 'Κεντρική Μακεδονία', 'give' ), |
|
| 1514 | - 'C' => __( 'Δυτική Μακεδονία', 'give' ), |
|
| 1515 | - 'D' => __( 'Ήπειρος', 'give' ), |
|
| 1516 | - 'E' => __( 'Θεσσαλία', 'give' ), |
|
| 1517 | - 'F' => __( 'Ιόνιοι Νήσοι', 'give' ), |
|
| 1518 | - 'G' => __( 'Δυτική Ελλάδα', 'give' ), |
|
| 1519 | - 'H' => __( 'Στερεά Ελλάδα', 'give' ), |
|
| 1520 | - 'J' => __( 'Πελοπόννησος', 'give' ), |
|
| 1521 | - 'K' => __( 'Βόρειο Αιγαίο', 'give' ), |
|
| 1522 | - 'L' => __( 'Νότιο Αιγαίο', 'give' ), |
|
| 1523 | - 'M' => __( 'Κρήτη', 'give' ), |
|
| 1511 | + 'I' => __('Αττική', 'give'), |
|
| 1512 | + 'A' => __('Ανατολική Μακεδονία και Θράκη', 'give'), |
|
| 1513 | + 'B' => __('Κεντρική Μακεδονία', 'give'), |
|
| 1514 | + 'C' => __('Δυτική Μακεδονία', 'give'), |
|
| 1515 | + 'D' => __('Ήπειρος', 'give'), |
|
| 1516 | + 'E' => __('Θεσσαλία', 'give'), |
|
| 1517 | + 'F' => __('Ιόνιοι Νήσοι', 'give'), |
|
| 1518 | + 'G' => __('Δυτική Ελλάδα', 'give'), |
|
| 1519 | + 'H' => __('Στερεά Ελλάδα', 'give'), |
|
| 1520 | + 'J' => __('Πελοπόννησος', 'give'), |
|
| 1521 | + 'K' => __('Βόρειο Αιγαίο', 'give'), |
|
| 1522 | + 'L' => __('Νότιο Αιγαίο', 'give'), |
|
| 1523 | + 'M' => __('Κρήτη', 'give'), |
|
| 1524 | 1524 | ); |
| 1525 | 1525 | |
| 1526 | - return apply_filters( 'give_greek_states', $states ); |
|
| 1526 | + return apply_filters('give_greek_states', $states); |
|
| 1527 | 1527 | } |
| 1528 | 1528 | |
| 1529 | 1529 | /** |
@@ -1535,18 +1535,18 @@ discard block |
||
| 1535 | 1535 | function give_get_bolivian_states_list() { |
| 1536 | 1536 | $states = array( |
| 1537 | 1537 | '' => '', |
| 1538 | - 'B' => __( 'Chuquisaca', 'give' ), |
|
| 1539 | - 'H' => __( 'Beni', 'give' ), |
|
| 1540 | - 'C' => __( 'Cochabamba', 'give' ), |
|
| 1541 | - 'L' => __( 'La Paz', 'give' ), |
|
| 1542 | - 'O' => __( 'Oruro', 'give' ), |
|
| 1543 | - 'N' => __( 'Pando', 'give' ), |
|
| 1544 | - 'P' => __( 'Potosí', 'give' ), |
|
| 1545 | - 'S' => __( 'Santa Cruz', 'give' ), |
|
| 1546 | - 'T' => __( 'Tarija', 'give' ), |
|
| 1538 | + 'B' => __('Chuquisaca', 'give'), |
|
| 1539 | + 'H' => __('Beni', 'give'), |
|
| 1540 | + 'C' => __('Cochabamba', 'give'), |
|
| 1541 | + 'L' => __('La Paz', 'give'), |
|
| 1542 | + 'O' => __('Oruro', 'give'), |
|
| 1543 | + 'N' => __('Pando', 'give'), |
|
| 1544 | + 'P' => __('Potosí', 'give'), |
|
| 1545 | + 'S' => __('Santa Cruz', 'give'), |
|
| 1546 | + 'T' => __('Tarija', 'give'), |
|
| 1547 | 1547 | ); |
| 1548 | 1548 | |
| 1549 | - return apply_filters( 'give_bolivian_states', $states ); |
|
| 1549 | + return apply_filters('give_bolivian_states', $states); |
|
| 1550 | 1550 | } |
| 1551 | 1551 | |
| 1552 | 1552 | /** |
@@ -1558,37 +1558,37 @@ discard block |
||
| 1558 | 1558 | function give_get_bulgarian_states_list() { |
| 1559 | 1559 | $states = array( |
| 1560 | 1560 | '' => '', |
| 1561 | - 'BG-01' => __( 'Blagoevgrad', 'give' ), |
|
| 1562 | - 'BG-02' => __( 'Burgas', 'give' ), |
|
| 1563 | - 'BG-08' => __( 'Dobrich', 'give' ), |
|
| 1564 | - 'BG-07' => __( 'Gabrovo', 'give' ), |
|
| 1565 | - 'BG-26' => __( 'Haskovo', 'give' ), |
|
| 1566 | - 'BG-09' => __( 'Kardzhali', 'give' ), |
|
| 1567 | - 'BG-10' => __( 'Kyustendil', 'give' ), |
|
| 1568 | - 'BG-11' => __( 'Lovech', 'give' ), |
|
| 1569 | - 'BG-12' => __( 'Montana', 'give' ), |
|
| 1570 | - 'BG-13' => __( 'Pazardzhik', 'give' ), |
|
| 1571 | - 'BG-14' => __( 'Pernik', 'give' ), |
|
| 1572 | - 'BG-15' => __( 'Pleven', 'give' ), |
|
| 1573 | - 'BG-16' => __( 'Plovdiv', 'give' ), |
|
| 1574 | - 'BG-17' => __( 'Razgrad', 'give' ), |
|
| 1575 | - 'BG-18' => __( 'Ruse', 'give' ), |
|
| 1576 | - 'BG-27' => __( 'Shumen', 'give' ), |
|
| 1577 | - 'BG-19' => __( 'Silistra', 'give' ), |
|
| 1578 | - 'BG-20' => __( 'Sliven', 'give' ), |
|
| 1579 | - 'BG-21' => __( 'Smolyan', 'give' ), |
|
| 1580 | - 'BG-23' => __( 'Sofia', 'give' ), |
|
| 1581 | - 'BG-22' => __( 'Sofia-Grad', 'give' ), |
|
| 1582 | - 'BG-24' => __( 'Stara Zagora', 'give' ), |
|
| 1583 | - 'BG-25' => __( 'Targovishte', 'give' ), |
|
| 1584 | - 'BG-03' => __( 'Varna', 'give' ), |
|
| 1585 | - 'BG-04' => __( 'Veliko Tarnovo', 'give' ), |
|
| 1586 | - 'BG-05' => __( 'Vidin', 'give' ), |
|
| 1587 | - 'BG-06' => __( 'Vratsa', 'give' ), |
|
| 1588 | - 'BG-28' => __( 'Yambol', 'give' ), |
|
| 1561 | + 'BG-01' => __('Blagoevgrad', 'give'), |
|
| 1562 | + 'BG-02' => __('Burgas', 'give'), |
|
| 1563 | + 'BG-08' => __('Dobrich', 'give'), |
|
| 1564 | + 'BG-07' => __('Gabrovo', 'give'), |
|
| 1565 | + 'BG-26' => __('Haskovo', 'give'), |
|
| 1566 | + 'BG-09' => __('Kardzhali', 'give'), |
|
| 1567 | + 'BG-10' => __('Kyustendil', 'give'), |
|
| 1568 | + 'BG-11' => __('Lovech', 'give'), |
|
| 1569 | + 'BG-12' => __('Montana', 'give'), |
|
| 1570 | + 'BG-13' => __('Pazardzhik', 'give'), |
|
| 1571 | + 'BG-14' => __('Pernik', 'give'), |
|
| 1572 | + 'BG-15' => __('Pleven', 'give'), |
|
| 1573 | + 'BG-16' => __('Plovdiv', 'give'), |
|
| 1574 | + 'BG-17' => __('Razgrad', 'give'), |
|
| 1575 | + 'BG-18' => __('Ruse', 'give'), |
|
| 1576 | + 'BG-27' => __('Shumen', 'give'), |
|
| 1577 | + 'BG-19' => __('Silistra', 'give'), |
|
| 1578 | + 'BG-20' => __('Sliven', 'give'), |
|
| 1579 | + 'BG-21' => __('Smolyan', 'give'), |
|
| 1580 | + 'BG-23' => __('Sofia', 'give'), |
|
| 1581 | + 'BG-22' => __('Sofia-Grad', 'give'), |
|
| 1582 | + 'BG-24' => __('Stara Zagora', 'give'), |
|
| 1583 | + 'BG-25' => __('Targovishte', 'give'), |
|
| 1584 | + 'BG-03' => __('Varna', 'give'), |
|
| 1585 | + 'BG-04' => __('Veliko Tarnovo', 'give'), |
|
| 1586 | + 'BG-05' => __('Vidin', 'give'), |
|
| 1587 | + 'BG-06' => __('Vratsa', 'give'), |
|
| 1588 | + 'BG-28' => __('Yambol', 'give'), |
|
| 1589 | 1589 | ); |
| 1590 | 1590 | |
| 1591 | - return apply_filters( 'give_bulgarian_states', $states ); |
|
| 1591 | + return apply_filters('give_bulgarian_states', $states); |
|
| 1592 | 1592 | } |
| 1593 | 1593 | |
| 1594 | 1594 | /** |
@@ -1600,73 +1600,73 @@ discard block |
||
| 1600 | 1600 | function give_get_bangladeshi_states_list() { |
| 1601 | 1601 | $states = array( |
| 1602 | 1602 | '' => '', |
| 1603 | - 'BAG' => __( 'Bagerhat', 'give' ), |
|
| 1604 | - 'BAN' => __( 'Bandarban', 'give' ), |
|
| 1605 | - 'BAR' => __( 'Barguna', 'give' ), |
|
| 1606 | - 'BARI' => __( 'Barisal', 'give' ), |
|
| 1607 | - 'BHO' => __( 'Bhola', 'give' ), |
|
| 1608 | - 'BOG' => __( 'Bogra', 'give' ), |
|
| 1609 | - 'BRA' => __( 'Brahmanbaria', 'give' ), |
|
| 1610 | - 'CHA' => __( 'Chandpur', 'give' ), |
|
| 1611 | - 'CHI' => __( 'Chittagong', 'give' ), |
|
| 1612 | - 'CHU' => __( 'Chuadanga', 'give' ), |
|
| 1613 | - 'COM' => __( 'Comilla', 'give' ), |
|
| 1614 | - 'COX' => __( "Cox's Bazar", 'give' ), |
|
| 1615 | - 'DHA' => __( 'Dhaka', 'give' ), |
|
| 1616 | - 'DIN' => __( 'Dinajpur', 'give' ), |
|
| 1617 | - 'FAR' => __( 'Faridpur ', 'give' ), |
|
| 1618 | - 'FEN' => __( 'Feni', 'give' ), |
|
| 1619 | - 'GAI' => __( 'Gaibandha', 'give' ), |
|
| 1620 | - 'GAZI' => __( 'Gazipur', 'give' ), |
|
| 1621 | - 'GOP' => __( 'Gopalganj', 'give' ), |
|
| 1622 | - 'HAB' => __( 'Habiganj', 'give' ), |
|
| 1623 | - 'JAM' => __( 'Jamalpur', 'give' ), |
|
| 1624 | - 'JES' => __( 'Jessore', 'give' ), |
|
| 1625 | - 'JHA' => __( 'Jhalokati', 'give' ), |
|
| 1626 | - 'JHE' => __( 'Jhenaidah', 'give' ), |
|
| 1627 | - 'JOY' => __( 'Joypurhat', 'give' ), |
|
| 1628 | - 'KHA' => __( 'Khagrachhari', 'give' ), |
|
| 1629 | - 'KHU' => __( 'Khulna', 'give' ), |
|
| 1630 | - 'KIS' => __( 'Kishoreganj', 'give' ), |
|
| 1631 | - 'KUR' => __( 'Kurigram', 'give' ), |
|
| 1632 | - 'KUS' => __( 'Kushtia', 'give' ), |
|
| 1633 | - 'LAK' => __( 'Lakshmipur', 'give' ), |
|
| 1634 | - 'LAL' => __( 'Lalmonirhat', 'give' ), |
|
| 1635 | - 'MAD' => __( 'Madaripur', 'give' ), |
|
| 1636 | - 'MAG' => __( 'Magura', 'give' ), |
|
| 1637 | - 'MAN' => __( 'Manikganj ', 'give' ), |
|
| 1638 | - 'MEH' => __( 'Meherpur', 'give' ), |
|
| 1639 | - 'MOU' => __( 'Moulvibazar', 'give' ), |
|
| 1640 | - 'MUN' => __( 'Munshiganj', 'give' ), |
|
| 1641 | - 'MYM' => __( 'Mymensingh', 'give' ), |
|
| 1642 | - 'NAO' => __( 'Naogaon', 'give' ), |
|
| 1643 | - 'NAR' => __( 'Narail', 'give' ), |
|
| 1644 | - 'NARG' => __( 'Narayanganj', 'give' ), |
|
| 1645 | - 'NARD' => __( 'Narsingdi', 'give' ), |
|
| 1646 | - 'NAT' => __( 'Natore', 'give' ), |
|
| 1647 | - 'NAW' => __( 'Nawabganj', 'give' ), |
|
| 1648 | - 'NET' => __( 'Netrakona', 'give' ), |
|
| 1649 | - 'NIL' => __( 'Nilphamari', 'give' ), |
|
| 1650 | - 'NOA' => __( 'Noakhali', 'give' ), |
|
| 1651 | - 'PAB' => __( 'Pabna', 'give' ), |
|
| 1652 | - 'PAN' => __( 'Panchagarh', 'give' ), |
|
| 1653 | - 'PAT' => __( 'Patuakhali', 'give' ), |
|
| 1654 | - 'PIR' => __( 'Pirojpur', 'give' ), |
|
| 1655 | - 'RAJB' => __( 'Rajbari', 'give' ), |
|
| 1656 | - 'RAJ' => __( 'Rajshahi', 'give' ), |
|
| 1657 | - 'RAN' => __( 'Rangamati', 'give' ), |
|
| 1658 | - 'RANP' => __( 'Rangpur', 'give' ), |
|
| 1659 | - 'SAT' => __( 'Satkhira', 'give' ), |
|
| 1660 | - 'SHA' => __( 'Shariatpur', 'give' ), |
|
| 1661 | - 'SHE' => __( 'Sherpur', 'give' ), |
|
| 1662 | - 'SIR' => __( 'Sirajganj', 'give' ), |
|
| 1663 | - 'SUN' => __( 'Sunamganj', 'give' ), |
|
| 1664 | - 'SYL' => __( 'Sylhet', 'give' ), |
|
| 1665 | - 'TAN' => __( 'Tangail', 'give' ), |
|
| 1666 | - 'THA' => __( 'Thakurgaon', 'give' ), |
|
| 1603 | + 'BAG' => __('Bagerhat', 'give'), |
|
| 1604 | + 'BAN' => __('Bandarban', 'give'), |
|
| 1605 | + 'BAR' => __('Barguna', 'give'), |
|
| 1606 | + 'BARI' => __('Barisal', 'give'), |
|
| 1607 | + 'BHO' => __('Bhola', 'give'), |
|
| 1608 | + 'BOG' => __('Bogra', 'give'), |
|
| 1609 | + 'BRA' => __('Brahmanbaria', 'give'), |
|
| 1610 | + 'CHA' => __('Chandpur', 'give'), |
|
| 1611 | + 'CHI' => __('Chittagong', 'give'), |
|
| 1612 | + 'CHU' => __('Chuadanga', 'give'), |
|
| 1613 | + 'COM' => __('Comilla', 'give'), |
|
| 1614 | + 'COX' => __("Cox's Bazar", 'give'), |
|
| 1615 | + 'DHA' => __('Dhaka', 'give'), |
|
| 1616 | + 'DIN' => __('Dinajpur', 'give'), |
|
| 1617 | + 'FAR' => __('Faridpur ', 'give'), |
|
| 1618 | + 'FEN' => __('Feni', 'give'), |
|
| 1619 | + 'GAI' => __('Gaibandha', 'give'), |
|
| 1620 | + 'GAZI' => __('Gazipur', 'give'), |
|
| 1621 | + 'GOP' => __('Gopalganj', 'give'), |
|
| 1622 | + 'HAB' => __('Habiganj', 'give'), |
|
| 1623 | + 'JAM' => __('Jamalpur', 'give'), |
|
| 1624 | + 'JES' => __('Jessore', 'give'), |
|
| 1625 | + 'JHA' => __('Jhalokati', 'give'), |
|
| 1626 | + 'JHE' => __('Jhenaidah', 'give'), |
|
| 1627 | + 'JOY' => __('Joypurhat', 'give'), |
|
| 1628 | + 'KHA' => __('Khagrachhari', 'give'), |
|
| 1629 | + 'KHU' => __('Khulna', 'give'), |
|
| 1630 | + 'KIS' => __('Kishoreganj', 'give'), |
|
| 1631 | + 'KUR' => __('Kurigram', 'give'), |
|
| 1632 | + 'KUS' => __('Kushtia', 'give'), |
|
| 1633 | + 'LAK' => __('Lakshmipur', 'give'), |
|
| 1634 | + 'LAL' => __('Lalmonirhat', 'give'), |
|
| 1635 | + 'MAD' => __('Madaripur', 'give'), |
|
| 1636 | + 'MAG' => __('Magura', 'give'), |
|
| 1637 | + 'MAN' => __('Manikganj ', 'give'), |
|
| 1638 | + 'MEH' => __('Meherpur', 'give'), |
|
| 1639 | + 'MOU' => __('Moulvibazar', 'give'), |
|
| 1640 | + 'MUN' => __('Munshiganj', 'give'), |
|
| 1641 | + 'MYM' => __('Mymensingh', 'give'), |
|
| 1642 | + 'NAO' => __('Naogaon', 'give'), |
|
| 1643 | + 'NAR' => __('Narail', 'give'), |
|
| 1644 | + 'NARG' => __('Narayanganj', 'give'), |
|
| 1645 | + 'NARD' => __('Narsingdi', 'give'), |
|
| 1646 | + 'NAT' => __('Natore', 'give'), |
|
| 1647 | + 'NAW' => __('Nawabganj', 'give'), |
|
| 1648 | + 'NET' => __('Netrakona', 'give'), |
|
| 1649 | + 'NIL' => __('Nilphamari', 'give'), |
|
| 1650 | + 'NOA' => __('Noakhali', 'give'), |
|
| 1651 | + 'PAB' => __('Pabna', 'give'), |
|
| 1652 | + 'PAN' => __('Panchagarh', 'give'), |
|
| 1653 | + 'PAT' => __('Patuakhali', 'give'), |
|
| 1654 | + 'PIR' => __('Pirojpur', 'give'), |
|
| 1655 | + 'RAJB' => __('Rajbari', 'give'), |
|
| 1656 | + 'RAJ' => __('Rajshahi', 'give'), |
|
| 1657 | + 'RAN' => __('Rangamati', 'give'), |
|
| 1658 | + 'RANP' => __('Rangpur', 'give'), |
|
| 1659 | + 'SAT' => __('Satkhira', 'give'), |
|
| 1660 | + 'SHA' => __('Shariatpur', 'give'), |
|
| 1661 | + 'SHE' => __('Sherpur', 'give'), |
|
| 1662 | + 'SIR' => __('Sirajganj', 'give'), |
|
| 1663 | + 'SUN' => __('Sunamganj', 'give'), |
|
| 1664 | + 'SYL' => __('Sylhet', 'give'), |
|
| 1665 | + 'TAN' => __('Tangail', 'give'), |
|
| 1666 | + 'THA' => __('Thakurgaon', 'give'), |
|
| 1667 | 1667 | ); |
| 1668 | 1668 | |
| 1669 | - return apply_filters( 'give_bangladeshi_states', $states ); |
|
| 1669 | + return apply_filters('give_bangladeshi_states', $states); |
|
| 1670 | 1670 | } |
| 1671 | 1671 | |
| 1672 | 1672 | /** |
@@ -1678,33 +1678,33 @@ discard block |
||
| 1678 | 1678 | function give_get_argentina_states_list() { |
| 1679 | 1679 | $states = array( |
| 1680 | 1680 | '' => '', |
| 1681 | - 'C' => __( 'Ciudad Autónoma de Buenos Aires', 'give' ), |
|
| 1682 | - 'B' => __( 'Buenos Aires', 'give' ), |
|
| 1683 | - 'K' => __( 'Catamarca', 'give' ), |
|
| 1684 | - 'H' => __( 'Chaco', 'give' ), |
|
| 1685 | - 'U' => __( 'Chubut', 'give' ), |
|
| 1686 | - 'X' => __( 'Córdoba', 'give' ), |
|
| 1687 | - 'W' => __( 'Corrientes', 'give' ), |
|
| 1688 | - 'E' => __( 'Entre Ríos', 'give' ), |
|
| 1689 | - 'P' => __( 'Formosa', 'give' ), |
|
| 1690 | - 'Y' => __( 'Jujuy', 'give' ), |
|
| 1691 | - 'L' => __( 'La Pampa', 'give' ), |
|
| 1692 | - 'F' => __( 'La Rioja', 'give' ), |
|
| 1693 | - 'M' => __( 'Mendoza', 'give' ), |
|
| 1694 | - 'N' => __( 'Misiones', 'give' ), |
|
| 1695 | - 'Q' => __( 'Neuquén', 'give' ), |
|
| 1696 | - 'R' => __( 'Río Negro', 'give' ), |
|
| 1697 | - 'A' => __( 'Salta', 'give' ), |
|
| 1698 | - 'J' => __( 'San Juan', 'give' ), |
|
| 1699 | - 'D' => __( 'San Luis', 'give' ), |
|
| 1700 | - 'Z' => __( 'Santa Cruz', 'give' ), |
|
| 1701 | - 'S' => __( 'Santa Fe', 'give' ), |
|
| 1702 | - 'G' => __( 'Santiago del Estero', 'give' ), |
|
| 1703 | - 'V' => __( 'Tierra del Fuego', 'give' ), |
|
| 1704 | - 'T' => __( 'Tucumán', 'give' ), |
|
| 1681 | + 'C' => __('Ciudad Autónoma de Buenos Aires', 'give'), |
|
| 1682 | + 'B' => __('Buenos Aires', 'give'), |
|
| 1683 | + 'K' => __('Catamarca', 'give'), |
|
| 1684 | + 'H' => __('Chaco', 'give'), |
|
| 1685 | + 'U' => __('Chubut', 'give'), |
|
| 1686 | + 'X' => __('Córdoba', 'give'), |
|
| 1687 | + 'W' => __('Corrientes', 'give'), |
|
| 1688 | + 'E' => __('Entre Ríos', 'give'), |
|
| 1689 | + 'P' => __('Formosa', 'give'), |
|
| 1690 | + 'Y' => __('Jujuy', 'give'), |
|
| 1691 | + 'L' => __('La Pampa', 'give'), |
|
| 1692 | + 'F' => __('La Rioja', 'give'), |
|
| 1693 | + 'M' => __('Mendoza', 'give'), |
|
| 1694 | + 'N' => __('Misiones', 'give'), |
|
| 1695 | + 'Q' => __('Neuquén', 'give'), |
|
| 1696 | + 'R' => __('Río Negro', 'give'), |
|
| 1697 | + 'A' => __('Salta', 'give'), |
|
| 1698 | + 'J' => __('San Juan', 'give'), |
|
| 1699 | + 'D' => __('San Luis', 'give'), |
|
| 1700 | + 'Z' => __('Santa Cruz', 'give'), |
|
| 1701 | + 'S' => __('Santa Fe', 'give'), |
|
| 1702 | + 'G' => __('Santiago del Estero', 'give'), |
|
| 1703 | + 'V' => __('Tierra del Fuego', 'give'), |
|
| 1704 | + 'T' => __('Tucumán', 'give'), |
|
| 1705 | 1705 | ); |
| 1706 | 1706 | |
| 1707 | - return apply_filters( 'give_argentina_states', $states ); |
|
| 1707 | + return apply_filters('give_argentina_states', $states); |
|
| 1708 | 1708 | } |
| 1709 | 1709 | |
| 1710 | 1710 | /** |
@@ -1785,7 +1785,7 @@ discard block |
||
| 1785 | 1785 | 'AP' => 'Armed Forces - Pacific', |
| 1786 | 1786 | ); |
| 1787 | 1787 | |
| 1788 | - return apply_filters( 'give_us_states', $states ); |
|
| 1788 | + return apply_filters('give_us_states', $states); |
|
| 1789 | 1789 | } |
| 1790 | 1790 | |
| 1791 | 1791 | /** |
@@ -1798,22 +1798,22 @@ discard block |
||
| 1798 | 1798 | function give_get_provinces_list() { |
| 1799 | 1799 | $provinces = array( |
| 1800 | 1800 | '' => '', |
| 1801 | - 'AB' => esc_html__( 'Alberta', 'give' ), |
|
| 1802 | - 'BC' => esc_html__( 'British Columbia', 'give' ), |
|
| 1803 | - 'MB' => esc_html__( 'Manitoba', 'give' ), |
|
| 1804 | - 'NB' => esc_html__( 'New Brunswick', 'give' ), |
|
| 1805 | - 'NL' => esc_html__( 'Newfoundland and Labrador', 'give' ), |
|
| 1806 | - 'NS' => esc_html__( 'Nova Scotia', 'give' ), |
|
| 1807 | - 'NT' => esc_html__( 'Northwest Territories', 'give' ), |
|
| 1808 | - 'NU' => esc_html__( 'Nunavut', 'give' ), |
|
| 1809 | - 'ON' => esc_html__( 'Ontario', 'give' ), |
|
| 1810 | - 'PE' => esc_html__( 'Prince Edward Island', 'give' ), |
|
| 1811 | - 'QC' => esc_html__( 'Quebec', 'give' ), |
|
| 1812 | - 'SK' => esc_html__( 'Saskatchewan', 'give' ), |
|
| 1813 | - 'YT' => esc_html__( 'Yukon', 'give' ), |
|
| 1801 | + 'AB' => esc_html__('Alberta', 'give'), |
|
| 1802 | + 'BC' => esc_html__('British Columbia', 'give'), |
|
| 1803 | + 'MB' => esc_html__('Manitoba', 'give'), |
|
| 1804 | + 'NB' => esc_html__('New Brunswick', 'give'), |
|
| 1805 | + 'NL' => esc_html__('Newfoundland and Labrador', 'give'), |
|
| 1806 | + 'NS' => esc_html__('Nova Scotia', 'give'), |
|
| 1807 | + 'NT' => esc_html__('Northwest Territories', 'give'), |
|
| 1808 | + 'NU' => esc_html__('Nunavut', 'give'), |
|
| 1809 | + 'ON' => esc_html__('Ontario', 'give'), |
|
| 1810 | + 'PE' => esc_html__('Prince Edward Island', 'give'), |
|
| 1811 | + 'QC' => esc_html__('Quebec', 'give'), |
|
| 1812 | + 'SK' => esc_html__('Saskatchewan', 'give'), |
|
| 1813 | + 'YT' => esc_html__('Yukon', 'give'), |
|
| 1814 | 1814 | ); |
| 1815 | 1815 | |
| 1816 | - return apply_filters( 'give_canada_provinces', $provinces ); |
|
| 1816 | + return apply_filters('give_canada_provinces', $provinces); |
|
| 1817 | 1817 | } |
| 1818 | 1818 | |
| 1819 | 1819 | /** |
@@ -1835,7 +1835,7 @@ discard block |
||
| 1835 | 1835 | 'WA' => 'Western Australia', |
| 1836 | 1836 | ); |
| 1837 | 1837 | |
| 1838 | - return apply_filters( 'give_australian_states', $states ); |
|
| 1838 | + return apply_filters('give_australian_states', $states); |
|
| 1839 | 1839 | } |
| 1840 | 1840 | |
| 1841 | 1841 | /** |
@@ -1876,7 +1876,7 @@ discard block |
||
| 1876 | 1876 | 'TO' => 'Tocantins', |
| 1877 | 1877 | ); |
| 1878 | 1878 | |
| 1879 | - return apply_filters( 'give_brazil_states', $states ); |
|
| 1879 | + return apply_filters('give_brazil_states', $states); |
|
| 1880 | 1880 | } |
| 1881 | 1881 | |
| 1882 | 1882 | /** |
@@ -1893,7 +1893,7 @@ discard block |
||
| 1893 | 1893 | 'NEW TERRITORIES' => 'New Territories', |
| 1894 | 1894 | ); |
| 1895 | 1895 | |
| 1896 | - return apply_filters( 'give_hong_kong_states', $states ); |
|
| 1896 | + return apply_filters('give_hong_kong_states', $states); |
|
| 1897 | 1897 | } |
| 1898 | 1898 | |
| 1899 | 1899 | /** |
@@ -1927,7 +1927,7 @@ discard block |
||
| 1927 | 1927 | 'ZA' => 'Zala', |
| 1928 | 1928 | ); |
| 1929 | 1929 | |
| 1930 | - return apply_filters( 'give_hungary_states', $states ); |
|
| 1930 | + return apply_filters('give_hungary_states', $states); |
|
| 1931 | 1931 | } |
| 1932 | 1932 | |
| 1933 | 1933 | /** |
@@ -1973,7 +1973,7 @@ discard block |
||
| 1973 | 1973 | 'CN32' => 'Xinjiang / 新疆', |
| 1974 | 1974 | ); |
| 1975 | 1975 | |
| 1976 | - return apply_filters( 'give_chinese_states', $states ); |
|
| 1976 | + return apply_filters('give_chinese_states', $states); |
|
| 1977 | 1977 | } |
| 1978 | 1978 | |
| 1979 | 1979 | /** |
@@ -2002,7 +2002,7 @@ discard block |
||
| 2002 | 2002 | 'WC' => 'West Coast', |
| 2003 | 2003 | ); |
| 2004 | 2004 | |
| 2005 | - return apply_filters( 'give_new_zealand_states', $states ); |
|
| 2005 | + return apply_filters('give_new_zealand_states', $states); |
|
| 2006 | 2006 | } |
| 2007 | 2007 | |
| 2008 | 2008 | /** |
@@ -2050,7 +2050,7 @@ discard block |
||
| 2050 | 2050 | 'PB' => 'Papua Barat', |
| 2051 | 2051 | ); |
| 2052 | 2052 | |
| 2053 | - return apply_filters( 'give_indonesia_states', $states ); |
|
| 2053 | + return apply_filters('give_indonesia_states', $states); |
|
| 2054 | 2054 | } |
| 2055 | 2055 | |
| 2056 | 2056 | /** |
@@ -2100,7 +2100,7 @@ discard block |
||
| 2100 | 2100 | 'PY' => 'Pondicherry (Puducherry)', |
| 2101 | 2101 | ); |
| 2102 | 2102 | |
| 2103 | - return apply_filters( 'give_indian_states', $states ); |
|
| 2103 | + return apply_filters('give_indian_states', $states); |
|
| 2104 | 2104 | } |
| 2105 | 2105 | |
| 2106 | 2106 | /** |
@@ -2130,7 +2130,7 @@ discard block |
||
| 2130 | 2130 | 'PJY' => 'W.P. Putrajaya', |
| 2131 | 2131 | ); |
| 2132 | 2132 | |
| 2133 | - return apply_filters( 'give_malaysian_states', $states ); |
|
| 2133 | + return apply_filters('give_malaysian_states', $states); |
|
| 2134 | 2134 | } |
| 2135 | 2135 | |
| 2136 | 2136 | /** |
@@ -2153,7 +2153,7 @@ discard block |
||
| 2153 | 2153 | 'WC' => 'Western Cape', |
| 2154 | 2154 | ); |
| 2155 | 2155 | |
| 2156 | - return apply_filters( 'give_south_african_states', $states ); |
|
| 2156 | + return apply_filters('give_south_african_states', $states); |
|
| 2157 | 2157 | } |
| 2158 | 2158 | |
| 2159 | 2159 | /** |
@@ -2244,7 +2244,7 @@ discard block |
||
| 2244 | 2244 | 'TH-35' => 'Yasothon (ยโสธร)', |
| 2245 | 2245 | ); |
| 2246 | 2246 | |
| 2247 | - return apply_filters( 'give_thailand_states', $states ); |
|
| 2247 | + return apply_filters('give_thailand_states', $states); |
|
| 2248 | 2248 | } |
| 2249 | 2249 | |
| 2250 | 2250 | /** |
@@ -2256,59 +2256,59 @@ discard block |
||
| 2256 | 2256 | function give_get_spain_states_list() { |
| 2257 | 2257 | $states = array( |
| 2258 | 2258 | '' => '', |
| 2259 | - 'C' => esc_html__( 'A Coruña', 'give' ), |
|
| 2260 | - 'VI' => esc_html__( 'Álava', 'give' ), |
|
| 2261 | - 'AB' => esc_html__( 'Albacete', 'give' ), |
|
| 2262 | - 'A' => esc_html__( 'Alicante', 'give' ), |
|
| 2263 | - 'AL' => esc_html__( 'Almería', 'give' ), |
|
| 2264 | - 'O' => esc_html__( 'Asturias', 'give' ), |
|
| 2265 | - 'AV' => esc_html__( 'Ávila', 'give' ), |
|
| 2266 | - 'BA' => esc_html__( 'Badajoz', 'give' ), |
|
| 2267 | - 'PM' => esc_html__( 'Baleares', 'give' ), |
|
| 2268 | - 'B' => esc_html__( 'Barcelona', 'give' ), |
|
| 2269 | - 'BU' => esc_html__( 'Burgos', 'give' ), |
|
| 2270 | - 'CC' => esc_html__( 'Cáceres', 'give' ), |
|
| 2271 | - 'CA' => esc_html__( 'Cádiz', 'give' ), |
|
| 2272 | - 'S' => esc_html__( 'Cantabria', 'give' ), |
|
| 2273 | - 'CS' => esc_html__( 'Castellón', 'give' ), |
|
| 2274 | - 'CE' => esc_html__( 'Ceuta', 'give' ), |
|
| 2275 | - 'CR' => esc_html__( 'Ciudad Real', 'give' ), |
|
| 2276 | - 'CO' => esc_html__( 'Córdoba', 'give' ), |
|
| 2277 | - 'CU' => esc_html__( 'Cuenca', 'give' ), |
|
| 2278 | - 'GI' => esc_html__( 'Girona', 'give' ), |
|
| 2279 | - 'GR' => esc_html__( 'Granada', 'give' ), |
|
| 2280 | - 'GU' => esc_html__( 'Guadalajara', 'give' ), |
|
| 2281 | - 'SS' => esc_html__( 'Gipuzkoa', 'give' ), |
|
| 2282 | - 'H' => esc_html__( 'Huelva', 'give' ), |
|
| 2283 | - 'HU' => esc_html__( 'Huesca', 'give' ), |
|
| 2284 | - 'J' => esc_html__( 'Jaén', 'give' ), |
|
| 2285 | - 'LO' => esc_html__( 'La Rioja', 'give' ), |
|
| 2286 | - 'GC' => esc_html__( 'Las Palmas', 'give' ), |
|
| 2287 | - 'LE' => esc_html__( 'León', 'give' ), |
|
| 2288 | - 'L' => esc_html__( 'Lleida', 'give' ), |
|
| 2289 | - 'LU' => esc_html__( 'Lugo', 'give' ), |
|
| 2290 | - 'M' => esc_html__( 'Madrid', 'give' ), |
|
| 2291 | - 'MA' => esc_html__( 'Málaga', 'give' ), |
|
| 2292 | - 'ML' => esc_html__( 'Melilla', 'give' ), |
|
| 2293 | - 'MU' => esc_html__( 'Murcia', 'give' ), |
|
| 2294 | - 'NA' => esc_html__( 'Navarra', 'give' ), |
|
| 2295 | - 'OR' => esc_html__( 'Ourense', 'give' ), |
|
| 2296 | - 'P' => esc_html__( 'Palencia', 'give' ), |
|
| 2297 | - 'PO' => esc_html__( 'Pontevedra', 'give' ), |
|
| 2298 | - 'SA' => esc_html__( 'Salamanca', 'give' ), |
|
| 2299 | - 'TF' => esc_html__( 'Santa Cruz de Tenerife', 'give' ), |
|
| 2300 | - 'SG' => esc_html__( 'Segovia', 'give' ), |
|
| 2301 | - 'SE' => esc_html__( 'Sevilla', 'give' ), |
|
| 2302 | - 'SO' => esc_html__( 'Soria', 'give' ), |
|
| 2303 | - 'T' => esc_html__( 'Tarragona', 'give' ), |
|
| 2304 | - 'TE' => esc_html__( 'Teruel', 'give' ), |
|
| 2305 | - 'TO' => esc_html__( 'Toledo', 'give' ), |
|
| 2306 | - 'V' => esc_html__( 'Valencia', 'give' ), |
|
| 2307 | - 'VA' => esc_html__( 'Valladolid', 'give' ), |
|
| 2308 | - 'BI' => esc_html__( 'Bizkaia', 'give' ), |
|
| 2309 | - 'ZA' => esc_html__( 'Zamora', 'give' ), |
|
| 2310 | - 'Z' => esc_html__( 'Zaragoza', 'give' ), |
|
| 2259 | + 'C' => esc_html__('A Coruña', 'give'), |
|
| 2260 | + 'VI' => esc_html__('Álava', 'give'), |
|
| 2261 | + 'AB' => esc_html__('Albacete', 'give'), |
|
| 2262 | + 'A' => esc_html__('Alicante', 'give'), |
|
| 2263 | + 'AL' => esc_html__('Almería', 'give'), |
|
| 2264 | + 'O' => esc_html__('Asturias', 'give'), |
|
| 2265 | + 'AV' => esc_html__('Ávila', 'give'), |
|
| 2266 | + 'BA' => esc_html__('Badajoz', 'give'), |
|
| 2267 | + 'PM' => esc_html__('Baleares', 'give'), |
|
| 2268 | + 'B' => esc_html__('Barcelona', 'give'), |
|
| 2269 | + 'BU' => esc_html__('Burgos', 'give'), |
|
| 2270 | + 'CC' => esc_html__('Cáceres', 'give'), |
|
| 2271 | + 'CA' => esc_html__('Cádiz', 'give'), |
|
| 2272 | + 'S' => esc_html__('Cantabria', 'give'), |
|
| 2273 | + 'CS' => esc_html__('Castellón', 'give'), |
|
| 2274 | + 'CE' => esc_html__('Ceuta', 'give'), |
|
| 2275 | + 'CR' => esc_html__('Ciudad Real', 'give'), |
|
| 2276 | + 'CO' => esc_html__('Córdoba', 'give'), |
|
| 2277 | + 'CU' => esc_html__('Cuenca', 'give'), |
|
| 2278 | + 'GI' => esc_html__('Girona', 'give'), |
|
| 2279 | + 'GR' => esc_html__('Granada', 'give'), |
|
| 2280 | + 'GU' => esc_html__('Guadalajara', 'give'), |
|
| 2281 | + 'SS' => esc_html__('Gipuzkoa', 'give'), |
|
| 2282 | + 'H' => esc_html__('Huelva', 'give'), |
|
| 2283 | + 'HU' => esc_html__('Huesca', 'give'), |
|
| 2284 | + 'J' => esc_html__('Jaén', 'give'), |
|
| 2285 | + 'LO' => esc_html__('La Rioja', 'give'), |
|
| 2286 | + 'GC' => esc_html__('Las Palmas', 'give'), |
|
| 2287 | + 'LE' => esc_html__('León', 'give'), |
|
| 2288 | + 'L' => esc_html__('Lleida', 'give'), |
|
| 2289 | + 'LU' => esc_html__('Lugo', 'give'), |
|
| 2290 | + 'M' => esc_html__('Madrid', 'give'), |
|
| 2291 | + 'MA' => esc_html__('Málaga', 'give'), |
|
| 2292 | + 'ML' => esc_html__('Melilla', 'give'), |
|
| 2293 | + 'MU' => esc_html__('Murcia', 'give'), |
|
| 2294 | + 'NA' => esc_html__('Navarra', 'give'), |
|
| 2295 | + 'OR' => esc_html__('Ourense', 'give'), |
|
| 2296 | + 'P' => esc_html__('Palencia', 'give'), |
|
| 2297 | + 'PO' => esc_html__('Pontevedra', 'give'), |
|
| 2298 | + 'SA' => esc_html__('Salamanca', 'give'), |
|
| 2299 | + 'TF' => esc_html__('Santa Cruz de Tenerife', 'give'), |
|
| 2300 | + 'SG' => esc_html__('Segovia', 'give'), |
|
| 2301 | + 'SE' => esc_html__('Sevilla', 'give'), |
|
| 2302 | + 'SO' => esc_html__('Soria', 'give'), |
|
| 2303 | + 'T' => esc_html__('Tarragona', 'give'), |
|
| 2304 | + 'TE' => esc_html__('Teruel', 'give'), |
|
| 2305 | + 'TO' => esc_html__('Toledo', 'give'), |
|
| 2306 | + 'V' => esc_html__('Valencia', 'give'), |
|
| 2307 | + 'VA' => esc_html__('Valladolid', 'give'), |
|
| 2308 | + 'BI' => esc_html__('Bizkaia', 'give'), |
|
| 2309 | + 'ZA' => esc_html__('Zamora', 'give'), |
|
| 2310 | + 'Z' => esc_html__('Zaragoza', 'give'), |
|
| 2311 | 2311 | ); |
| 2312 | 2312 | |
| 2313 | - return apply_filters( 'give_spain_states', $states ); |
|
| 2313 | + return apply_filters('give_spain_states', $states); |
|
| 2314 | 2314 | } |