@@ -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 | |
@@ -23,9 +23,9 @@ discard block |
||
23 | 23 | */ |
24 | 24 | function give_get_country() { |
25 | 25 | global $give_options; |
26 | - $country = isset( $give_options['base_country'] ) ? $give_options['base_country'] : 'US'; |
|
26 | + $country = isset($give_options['base_country']) ? $give_options['base_country'] : 'US'; |
|
27 | 27 | |
28 | - return apply_filters( 'give_give_country', $country ); |
|
28 | + return apply_filters('give_give_country', $country); |
|
29 | 29 | } |
30 | 30 | |
31 | 31 | /** |
@@ -36,9 +36,9 @@ discard block |
||
36 | 36 | */ |
37 | 37 | function give_get_state() { |
38 | 38 | global $give_options; |
39 | - $state = isset( $give_options['base_state'] ) ? $give_options['base_state'] : false; |
|
39 | + $state = isset($give_options['base_state']) ? $give_options['base_state'] : false; |
|
40 | 40 | |
41 | - return apply_filters( 'give_give_state', $state ); |
|
41 | + return apply_filters('give_give_state', $state); |
|
42 | 42 | } |
43 | 43 | |
44 | 44 | /** |
@@ -50,14 +50,14 @@ discard block |
||
50 | 50 | * |
51 | 51 | * @return mixed|void A list of states for the shop's base country |
52 | 52 | */ |
53 | -function give_get_states( $country = null ) { |
|
53 | +function give_get_states($country = null) { |
|
54 | 54 | global $give_options; |
55 | 55 | |
56 | - if ( empty( $country ) ) { |
|
56 | + if (empty($country)) { |
|
57 | 57 | $country = give_get_country(); |
58 | 58 | } |
59 | 59 | |
60 | - switch ( $country ) : |
|
60 | + switch ($country) : |
|
61 | 61 | |
62 | 62 | case 'US' : |
63 | 63 | $states = give_get_states_list(); |
@@ -107,7 +107,7 @@ discard block |
||
107 | 107 | |
108 | 108 | endswitch; |
109 | 109 | |
110 | - return apply_filters( 'give_give_states', $states ); |
|
110 | + return apply_filters('give_give_states', $states); |
|
111 | 111 | } |
112 | 112 | |
113 | 113 | |
@@ -120,253 +120,253 @@ discard block |
||
120 | 120 | function give_get_country_list() { |
121 | 121 | $countries = array( |
122 | 122 | '' => '', |
123 | - 'US' => esc_html__( 'United States', 'give' ), |
|
124 | - 'CA' => esc_html__( 'Canada', 'give' ), |
|
125 | - 'GB' => esc_html__( 'United Kingdom', 'give' ), |
|
126 | - 'AF' => esc_html__( 'Afghanistan', 'give' ), |
|
127 | - 'AL' => esc_html__( 'Albania', 'give' ), |
|
128 | - 'DZ' => esc_html__( 'Algeria', 'give' ), |
|
129 | - 'AS' => esc_html__( 'American Samoa', 'give' ), |
|
130 | - 'AD' => esc_html__( 'Andorra', 'give' ), |
|
131 | - 'AO' => esc_html__( 'Angola', 'give' ), |
|
132 | - 'AI' => esc_html__( 'Anguilla', 'give' ), |
|
133 | - 'AQ' => esc_html__( 'Antarctica', 'give' ), |
|
134 | - 'AG' => esc_html__( 'Antigua and Barbuda', 'give' ), |
|
135 | - 'AR' => esc_html__( 'Argentina', 'give' ), |
|
136 | - 'AM' => esc_html__( 'Armenia', 'give' ), |
|
137 | - 'AW' => esc_html__( 'Aruba', 'give' ), |
|
138 | - 'AU' => esc_html__( 'Australia', 'give' ), |
|
139 | - 'AT' => esc_html__( 'Austria', 'give' ), |
|
140 | - 'AZ' => esc_html__( 'Azerbaijan', 'give' ), |
|
141 | - 'BS' => esc_html__( 'Bahamas', 'give'), |
|
142 | - 'BH' => esc_html__( 'Bahrain', 'give' ), |
|
143 | - 'BD' => esc_html__( 'Bangladesh', 'give' ), |
|
144 | - 'BB' => esc_html__( 'Barbados', 'give' ), |
|
145 | - 'BY' => esc_html__( 'Belarus', 'give' ), |
|
146 | - 'BE' => esc_html__( 'Belgium', 'give' ), |
|
147 | - 'BZ' => esc_html__( 'Belize', 'give' ), |
|
148 | - 'BJ' => esc_html__( 'Benin', 'give' ), |
|
149 | - 'BM' => esc_html__( 'Bermuda', 'give' ), |
|
150 | - 'BT' => esc_html__( 'Bhutan', 'give' ), |
|
151 | - 'BO' => esc_html__( 'Bolivia', 'give' ), |
|
152 | - 'BA' => esc_html__( 'Bosnia and Herzegovina', 'give' ), |
|
153 | - 'BW' => esc_html__( 'Botswana', 'give' ), |
|
154 | - 'BV' => esc_html__( 'Bouvet Island', 'give' ), |
|
155 | - 'BR' => esc_html__( 'Brazil', 'give' ), |
|
156 | - 'IO' => esc_html__( 'British Indian Ocean Territory', 'give' ), |
|
157 | - 'BN' => esc_html__( 'Brunei Darrussalam', 'give' ), |
|
158 | - 'BG' => esc_html__( 'Bulgaria', 'give' ), |
|
159 | - 'BF' => esc_html__( 'Burkina Faso', 'give' ), |
|
160 | - 'BI' => esc_html__( 'Burundi', 'give' ), |
|
161 | - 'KH' => esc_html__( 'Cambodia', 'give' ), |
|
162 | - 'CM' => esc_html__( 'Cameroon', 'give' ), |
|
163 | - 'CV' => esc_html__( 'Cape Verde', 'give' ), |
|
164 | - 'KY' => esc_html__( 'Cayman Islands', 'give' ), |
|
165 | - 'CF' => esc_html__( 'Central African Republic', 'give' ), |
|
166 | - 'TD' => esc_html__( 'Chad', 'give' ), |
|
167 | - 'CL' => esc_html__( 'Chile', 'give' ), |
|
168 | - 'CN' => esc_html__( 'China', 'give' ), |
|
169 | - 'CX' => esc_html__( 'Christmas Island', 'give' ), |
|
170 | - 'CC' => esc_html__( 'Cocos Islands', 'give' ), |
|
171 | - 'CO' => esc_html__( 'Colombia', 'give' ), |
|
172 | - 'KM' => esc_html__( 'Comoros', 'give' ), |
|
173 | - 'CD' => esc_html__( 'Congo, Democratic People\'s Republic', 'give' ), |
|
174 | - 'CG' => esc_html__( 'Congo, Republic of', 'give' ), |
|
175 | - 'CK' => esc_html__( 'Cook Islands', 'give' ), |
|
176 | - 'CR' => esc_html__( 'Costa Rica', 'give' ), |
|
177 | - 'CI' => esc_html__( 'Cote d\'Ivoire', 'give' ), |
|
178 | - 'HR' => esc_html__( 'Croatia/Hrvatska', 'give' ), |
|
179 | - 'CU' => esc_html__( 'Cuba', 'give' ), |
|
180 | - 'CY' => esc_html__( 'Cyprus Island', 'give' ), |
|
181 | - 'CZ' => esc_html__( 'Czech Republic', 'give' ), |
|
182 | - 'DK' => esc_html__( 'Denmark', 'give' ), |
|
183 | - 'DJ' => esc_html__( 'Djibouti', 'give' ), |
|
184 | - 'DM' => esc_html__( 'Dominica', 'give' ), |
|
185 | - 'DO' => esc_html__( 'Dominican Republic', 'give' ), |
|
186 | - 'TP' => esc_html__( 'East Timor', 'give' ), |
|
187 | - 'EC' => esc_html__( 'Ecuador', 'give' ), |
|
188 | - 'EG' => esc_html__( 'Egypt', 'give' ), |
|
189 | - 'GQ' => esc_html__( 'Equatorial Guinea', 'give' ), |
|
190 | - 'SV' => esc_html__( 'El Salvador', 'give' ), |
|
191 | - 'ER' => esc_html__( 'Eritrea', 'give' ), |
|
192 | - 'EE' => esc_html__( 'Estonia', 'give' ), |
|
193 | - 'ET' => esc_html__( 'Ethiopia', 'give' ), |
|
194 | - 'FK' => esc_html__( 'Falkland Islands', 'give' ), |
|
195 | - 'FO' => esc_html__( 'Faroe Islands', 'give' ), |
|
196 | - 'FJ' => esc_html__( 'Fiji', 'give' ), |
|
197 | - 'FI' => esc_html__( 'Finland', 'give' ), |
|
198 | - 'FR' => esc_html__( 'France', 'give' ), |
|
199 | - 'GF' => esc_html__( 'French Guiana', 'give' ), |
|
200 | - 'PF' => esc_html__( 'French Polynesia', 'give' ), |
|
201 | - 'TF' => esc_html__( 'French Southern Territories', 'give' ), |
|
202 | - 'GA' => esc_html__( 'Gabon', 'give' ), |
|
203 | - 'GM' => esc_html__( 'Gambia', 'give' ), |
|
204 | - 'GE' => esc_html__( 'Georgia', 'give' ), |
|
205 | - 'DE' => esc_html__( 'Germany', 'give' ), |
|
206 | - 'GR' => esc_html__( 'Greece', 'give' ), |
|
207 | - 'GH' => esc_html__( 'Ghana', 'give' ), |
|
208 | - 'GI' => esc_html__( 'Gibraltar', 'give' ), |
|
209 | - 'GL' => esc_html__( 'Greenland', 'give' ), |
|
210 | - 'GD' => esc_html__( 'Grenada', 'give' ), |
|
211 | - 'GP' => esc_html__( 'Guadeloupe', 'give' ), |
|
212 | - 'GU' => esc_html__( 'Guam', 'give' ), |
|
213 | - 'GT' => esc_html__( 'Guatemala', 'give' ), |
|
214 | - 'GG' => esc_html__( 'Guernsey', 'give' ), |
|
215 | - 'GN' => esc_html__( 'Guinea', 'give' ), |
|
216 | - 'GW' => esc_html__( 'Guinea-Bissau', 'give' ), |
|
217 | - 'GY' => esc_html__( 'Guyana', 'give' ), |
|
218 | - 'HT' => esc_html__( 'Haiti', 'give' ), |
|
219 | - 'HM' => esc_html__( 'Heard and McDonald Islands', 'give' ), |
|
220 | - 'VA' => esc_html__( 'Holy See (City Vatican State)', 'give' ), |
|
221 | - 'HN' => esc_html__( 'Honduras', 'give' ), |
|
222 | - 'HK' => esc_html__( 'Hong Kong', 'give' ), |
|
223 | - 'HU' => esc_html__( 'Hungary', 'give' ), |
|
224 | - 'IS' => esc_html__( 'Iceland', 'give' ), |
|
225 | - 'IN' => esc_html__( 'India', 'give' ), |
|
226 | - 'ID' => esc_html__( 'Indonesia', 'give' ), |
|
227 | - 'IR' => esc_html__( 'Iran', 'give' ), |
|
228 | - 'IQ' => esc_html__( 'Iraq', 'give' ), |
|
229 | - 'IE' => esc_html__( 'Ireland', 'give' ), |
|
230 | - 'IM' => esc_html__( 'Isle of Man', 'give' ), |
|
231 | - 'IL' => esc_html__( 'Israel', 'give' ), |
|
232 | - 'IT' => esc_html__( 'Italy', 'give' ), |
|
233 | - 'JM' => esc_html__( 'Jamaica', 'give' ), |
|
234 | - 'JP' => esc_html__( 'Japan', 'give' ), |
|
235 | - 'JE' => esc_html__( 'Jersey', 'give' ), |
|
236 | - 'JO' => esc_html__( 'Jordan', 'give' ), |
|
237 | - 'KZ' => esc_html__( 'Kazakhstan', 'give' ), |
|
238 | - 'KE' => esc_html__( 'Kenya', 'give' ), |
|
239 | - 'KI' => esc_html__( 'Kiribati', 'give' ), |
|
240 | - 'KW' => esc_html__( 'Kuwait', 'give' ), |
|
241 | - 'KG' => esc_html__( 'Kyrgyzstan', 'give' ), |
|
242 | - 'LA' => esc_html__( 'Lao People\'s Democratic Republic', 'give' ), |
|
243 | - 'LV' => esc_html__( 'Latvia', 'give' ), |
|
244 | - 'LB' => esc_html__( 'Lebanon', 'give' ), |
|
245 | - 'LS' => esc_html__( 'Lesotho', 'give' ), |
|
246 | - 'LR' => esc_html__( 'Liberia', 'give' ), |
|
247 | - 'LY' => esc_html__( 'Libyan Arab Jamahiriya', 'give' ), |
|
248 | - 'LI' => esc_html__( 'Liechtenstein', 'give' ), |
|
249 | - 'LT' => esc_html__( 'Lithuania', 'give' ), |
|
250 | - 'LU' => esc_html__( 'Luxembourg', 'give' ), |
|
251 | - 'MO' => esc_html__( 'Macau', 'give' ), |
|
252 | - 'MK' => esc_html__( 'Macedonia', 'give' ), |
|
253 | - 'MG' => esc_html__( 'Madagascar', 'give' ), |
|
254 | - 'MW' => esc_html__( 'Malawi', 'give' ), |
|
255 | - 'MY' => esc_html__( 'Malaysia', 'give' ), |
|
256 | - 'MV' => esc_html__( 'Maldives', 'give' ), |
|
257 | - 'ML' => esc_html__( 'Mali', 'give' ), |
|
258 | - 'MT' => esc_html__( 'Malta', 'give' ), |
|
259 | - 'MH' => esc_html__( 'Marshall Islands', 'give' ), |
|
260 | - 'MQ' => esc_html__( 'Martinique', 'give' ), |
|
261 | - 'MR' => esc_html__( 'Mauritania', 'give' ), |
|
262 | - 'MU' => esc_html__( 'Mauritius', 'give' ), |
|
263 | - 'YT' => esc_html__( 'Mayotte', 'give' ), |
|
264 | - 'MX' => esc_html__( 'Mexico', 'give' ), |
|
265 | - 'FM' => esc_html__( 'Micronesia', 'give' ), |
|
266 | - 'MD' => esc_html__( 'Moldova, Republic of', 'give' ), |
|
267 | - 'MC' => esc_html__( 'Monaco', 'give' ), |
|
268 | - 'MN' => esc_html__( 'Mongolia', 'give' ), |
|
269 | - 'ME' => esc_html__( 'Montenegro', 'give' ), |
|
270 | - 'MS' => esc_html__( 'Montserrat', 'give' ), |
|
271 | - 'MA' => esc_html__( 'Morocco', 'give' ), |
|
272 | - 'MZ' => esc_html__( 'Mozambique', 'give' ), |
|
273 | - 'MM' => esc_html__( 'Myanmar', 'give' ), |
|
274 | - 'NA' => esc_html__( 'Namibia', 'give' ), |
|
275 | - 'NR' => esc_html__( 'Nauru', 'give' ), |
|
276 | - 'NP' => esc_html__( 'Nepal', 'give' ), |
|
277 | - 'NL' => esc_html__( 'Netherlands', 'give' ), |
|
278 | - 'AN' => esc_html__( 'Netherlands Antilles', 'give' ), |
|
279 | - 'NC' => esc_html__( 'New Caledonia', 'give' ), |
|
280 | - 'NZ' => esc_html__( 'New Zealand', 'give' ), |
|
281 | - 'NI' => esc_html__( 'Nicaragua', 'give' ), |
|
282 | - 'NE' => esc_html__( 'Niger', 'give' ), |
|
283 | - 'NG' => esc_html__( 'Nigeria', 'give' ), |
|
284 | - 'NU' => esc_html__( 'Niue', 'give' ), |
|
285 | - 'NF' => esc_html__( 'Norfolk Island', 'give' ), |
|
286 | - 'KP' => esc_html__( 'North Korea', 'give' ), |
|
287 | - 'MP' => esc_html__( 'Northern Mariana Islands', 'give' ), |
|
288 | - 'NO' => esc_html__( 'Norway', 'give' ), |
|
289 | - 'OM' => esc_html__( 'Oman', 'give' ), |
|
290 | - 'PK' => esc_html__( 'Pakistan', 'give' ), |
|
291 | - 'PW' => esc_html__( 'Palau', 'give' ), |
|
292 | - 'PS' => esc_html__( 'Palestinian Territories', 'give' ), |
|
293 | - 'PA' => esc_html__( 'Panama', 'give' ), |
|
294 | - 'PG' => esc_html__( 'Papua New Guinea', 'give' ), |
|
295 | - 'PY' => esc_html__( 'Paraguay', 'give' ), |
|
296 | - 'PE' => esc_html__( 'Peru', 'give' ), |
|
297 | - 'PH' => esc_html__( 'Phillipines', 'give' ), |
|
298 | - 'PN' => esc_html__( 'Pitcairn Island', 'give' ), |
|
299 | - 'PL' => esc_html__( 'Poland', 'give' ), |
|
300 | - 'PT' => esc_html__( 'Portugal', 'give' ), |
|
301 | - 'PR' => esc_html__( 'Puerto Rico', 'give' ), |
|
302 | - 'QA' => esc_html__( 'Qatar', 'give' ), |
|
303 | - 'RE' => esc_html__( 'Reunion Island', 'give' ), |
|
304 | - 'RO' => esc_html__( 'Romania', 'give' ), |
|
305 | - 'RU' => esc_html__( 'Russian Federation', 'give' ), |
|
306 | - 'RW' => esc_html__( 'Rwanda', 'give' ), |
|
307 | - 'SH' => esc_html__( 'Saint Helena', 'give' ), |
|
308 | - 'KN' => esc_html__( 'Saint Kitts and Nevis', 'give' ), |
|
309 | - 'LC' => esc_html__( 'Saint Lucia', 'give' ), |
|
310 | - 'PM' => esc_html__( 'Saint Pierre and Miquelon', 'give' ), |
|
311 | - 'VC' => esc_html__( 'Saint Vincent and the Grenadines', 'give' ), |
|
312 | - 'SM' => esc_html__( 'San Marino', 'give' ), |
|
313 | - 'ST' => esc_html__( 'Sao Tome and Principe', 'give' ), |
|
314 | - 'SA' => esc_html__( 'Saudi Arabia', 'give' ), |
|
315 | - 'SN' => esc_html__( 'Senegal', 'give' ), |
|
316 | - 'RS' => esc_html__( 'Serbia', 'give' ), |
|
317 | - 'SC' => esc_html__( 'Seychelles', 'give' ), |
|
318 | - 'SL' => esc_html__( 'Sierra Leone', 'give' ), |
|
319 | - 'SG' => esc_html__( 'Singapore', 'give' ), |
|
320 | - 'SK' => esc_html__( 'Slovak Republic', 'give' ), |
|
321 | - 'SI' => esc_html__( 'Slovenia', 'give' ), |
|
322 | - 'SB' => esc_html__( 'Solomon Islands', 'give' ), |
|
323 | - 'SO' => esc_html__( 'Somalia', 'give' ), |
|
324 | - 'ZA' => esc_html__( 'South Africa', 'give' ), |
|
325 | - 'GS' => esc_html__( 'South Georgia', 'give' ), |
|
326 | - 'KR' => esc_html__( 'South Korea', 'give' ), |
|
327 | - 'ES' => esc_html__( 'Spain', 'give' ), |
|
328 | - 'LK' => esc_html__( 'Sri Lanka', 'give' ), |
|
329 | - 'SD' => esc_html__( 'Sudan', 'give' ), |
|
330 | - 'SR' => esc_html__( 'Suriname', 'give' ), |
|
331 | - 'SJ' => esc_html__( 'Svalbard and Jan Mayen Islands', 'give' ), |
|
332 | - 'SZ' => esc_html__( 'Swaziland', 'give' ), |
|
333 | - 'SE' => esc_html__( 'Sweden', 'give' ), |
|
334 | - 'CH' => esc_html__( 'Switzerland', 'give' ), |
|
335 | - 'SY' => esc_html__( 'Syrian Arab Republic', 'give' ), |
|
336 | - 'TW' => esc_html__( 'Taiwan', 'give' ), |
|
337 | - 'TJ' => esc_html__( 'Tajikistan', 'give' ), |
|
338 | - 'TZ' => esc_html__( 'Tanzania', 'give' ), |
|
339 | - 'TG' => esc_html__( 'Togo', 'give' ), |
|
340 | - 'TK' => esc_html__( 'Tokelau', 'give' ), |
|
341 | - 'TO' => esc_html__( 'Tonga', 'give' ), |
|
342 | - 'TH' => esc_html__( 'Thailand', 'give' ), |
|
343 | - 'TT' => esc_html__( 'Trinidad and Tobago', 'give' ), |
|
344 | - 'TN' => esc_html__( 'Tunisia', 'give' ), |
|
345 | - 'TR' => esc_html__( 'Turkey', 'give' ), |
|
346 | - 'TM' => esc_html__( 'Turkmenistan', 'give' ), |
|
347 | - 'TC' => esc_html__( 'Turks and Caicos Islands', 'give' ), |
|
348 | - 'TV' => esc_html__( 'Tuvalu', 'give' ), |
|
349 | - 'UG' => esc_html__( 'Uganda', 'give' ), |
|
350 | - 'UA' => esc_html__( 'Ukraine', 'give' ), |
|
351 | - 'AE' => esc_html__( 'United Arab Emirates', 'give' ), |
|
352 | - 'UY' => esc_html__( 'Uruguay', 'give' ), |
|
353 | - 'UM' => esc_html__( 'US Minor Outlying Islands', 'give' ), |
|
354 | - 'UZ' => esc_html__( 'Uzbekistan', 'give' ), |
|
355 | - 'VU' => esc_html__( 'Vanuatu', 'give' ), |
|
356 | - 'VE' => esc_html__( 'Venezuela', 'give' ), |
|
357 | - 'VN' => esc_html__( 'Vietnam', 'give' ), |
|
358 | - 'VG' => esc_html__( 'Virgin Islands (British)', 'give' ), |
|
359 | - 'VI' => esc_html__( 'Virgin Islands (USA)', 'give' ), |
|
360 | - 'WF' => esc_html__( 'Wallis and Futuna Islands', 'give' ), |
|
361 | - 'EH' => esc_html__( 'Western Sahara', 'give' ), |
|
362 | - 'WS' => esc_html__( 'Western Samoa', 'give' ), |
|
363 | - 'YE' => esc_html__( 'Yemen', 'give' ), |
|
364 | - 'YU' => esc_html__( 'Yugoslavia', 'give' ), |
|
365 | - 'ZM' => esc_html__( 'Zambia', 'give' ), |
|
366 | - 'ZW' => esc_html__( 'Zimbabwe', 'give' ) |
|
123 | + 'US' => esc_html__('United States', 'give'), |
|
124 | + 'CA' => esc_html__('Canada', 'give'), |
|
125 | + 'GB' => esc_html__('United Kingdom', 'give'), |
|
126 | + 'AF' => esc_html__('Afghanistan', 'give'), |
|
127 | + 'AL' => esc_html__('Albania', 'give'), |
|
128 | + 'DZ' => esc_html__('Algeria', 'give'), |
|
129 | + 'AS' => esc_html__('American Samoa', 'give'), |
|
130 | + 'AD' => esc_html__('Andorra', 'give'), |
|
131 | + 'AO' => esc_html__('Angola', 'give'), |
|
132 | + 'AI' => esc_html__('Anguilla', 'give'), |
|
133 | + 'AQ' => esc_html__('Antarctica', 'give'), |
|
134 | + 'AG' => esc_html__('Antigua and Barbuda', 'give'), |
|
135 | + 'AR' => esc_html__('Argentina', 'give'), |
|
136 | + 'AM' => esc_html__('Armenia', 'give'), |
|
137 | + 'AW' => esc_html__('Aruba', 'give'), |
|
138 | + 'AU' => esc_html__('Australia', 'give'), |
|
139 | + 'AT' => esc_html__('Austria', 'give'), |
|
140 | + 'AZ' => esc_html__('Azerbaijan', 'give'), |
|
141 | + 'BS' => esc_html__('Bahamas', 'give'), |
|
142 | + 'BH' => esc_html__('Bahrain', 'give'), |
|
143 | + 'BD' => esc_html__('Bangladesh', 'give'), |
|
144 | + 'BB' => esc_html__('Barbados', 'give'), |
|
145 | + 'BY' => esc_html__('Belarus', 'give'), |
|
146 | + 'BE' => esc_html__('Belgium', 'give'), |
|
147 | + 'BZ' => esc_html__('Belize', 'give'), |
|
148 | + 'BJ' => esc_html__('Benin', 'give'), |
|
149 | + 'BM' => esc_html__('Bermuda', 'give'), |
|
150 | + 'BT' => esc_html__('Bhutan', 'give'), |
|
151 | + 'BO' => esc_html__('Bolivia', 'give'), |
|
152 | + 'BA' => esc_html__('Bosnia and Herzegovina', 'give'), |
|
153 | + 'BW' => esc_html__('Botswana', 'give'), |
|
154 | + 'BV' => esc_html__('Bouvet Island', 'give'), |
|
155 | + 'BR' => esc_html__('Brazil', 'give'), |
|
156 | + 'IO' => esc_html__('British Indian Ocean Territory', 'give'), |
|
157 | + 'BN' => esc_html__('Brunei Darrussalam', 'give'), |
|
158 | + 'BG' => esc_html__('Bulgaria', 'give'), |
|
159 | + 'BF' => esc_html__('Burkina Faso', 'give'), |
|
160 | + 'BI' => esc_html__('Burundi', 'give'), |
|
161 | + 'KH' => esc_html__('Cambodia', 'give'), |
|
162 | + 'CM' => esc_html__('Cameroon', 'give'), |
|
163 | + 'CV' => esc_html__('Cape Verde', 'give'), |
|
164 | + 'KY' => esc_html__('Cayman Islands', 'give'), |
|
165 | + 'CF' => esc_html__('Central African Republic', 'give'), |
|
166 | + 'TD' => esc_html__('Chad', 'give'), |
|
167 | + 'CL' => esc_html__('Chile', 'give'), |
|
168 | + 'CN' => esc_html__('China', 'give'), |
|
169 | + 'CX' => esc_html__('Christmas Island', 'give'), |
|
170 | + 'CC' => esc_html__('Cocos Islands', 'give'), |
|
171 | + 'CO' => esc_html__('Colombia', 'give'), |
|
172 | + 'KM' => esc_html__('Comoros', 'give'), |
|
173 | + 'CD' => esc_html__('Congo, Democratic People\'s Republic', 'give'), |
|
174 | + 'CG' => esc_html__('Congo, Republic of', 'give'), |
|
175 | + 'CK' => esc_html__('Cook Islands', 'give'), |
|
176 | + 'CR' => esc_html__('Costa Rica', 'give'), |
|
177 | + 'CI' => esc_html__('Cote d\'Ivoire', 'give'), |
|
178 | + 'HR' => esc_html__('Croatia/Hrvatska', 'give'), |
|
179 | + 'CU' => esc_html__('Cuba', 'give'), |
|
180 | + 'CY' => esc_html__('Cyprus Island', 'give'), |
|
181 | + 'CZ' => esc_html__('Czech Republic', 'give'), |
|
182 | + 'DK' => esc_html__('Denmark', 'give'), |
|
183 | + 'DJ' => esc_html__('Djibouti', 'give'), |
|
184 | + 'DM' => esc_html__('Dominica', 'give'), |
|
185 | + 'DO' => esc_html__('Dominican Republic', 'give'), |
|
186 | + 'TP' => esc_html__('East Timor', 'give'), |
|
187 | + 'EC' => esc_html__('Ecuador', 'give'), |
|
188 | + 'EG' => esc_html__('Egypt', 'give'), |
|
189 | + 'GQ' => esc_html__('Equatorial Guinea', 'give'), |
|
190 | + 'SV' => esc_html__('El Salvador', 'give'), |
|
191 | + 'ER' => esc_html__('Eritrea', 'give'), |
|
192 | + 'EE' => esc_html__('Estonia', 'give'), |
|
193 | + 'ET' => esc_html__('Ethiopia', 'give'), |
|
194 | + 'FK' => esc_html__('Falkland Islands', 'give'), |
|
195 | + 'FO' => esc_html__('Faroe Islands', 'give'), |
|
196 | + 'FJ' => esc_html__('Fiji', 'give'), |
|
197 | + 'FI' => esc_html__('Finland', 'give'), |
|
198 | + 'FR' => esc_html__('France', 'give'), |
|
199 | + 'GF' => esc_html__('French Guiana', 'give'), |
|
200 | + 'PF' => esc_html__('French Polynesia', 'give'), |
|
201 | + 'TF' => esc_html__('French Southern Territories', 'give'), |
|
202 | + 'GA' => esc_html__('Gabon', 'give'), |
|
203 | + 'GM' => esc_html__('Gambia', 'give'), |
|
204 | + 'GE' => esc_html__('Georgia', 'give'), |
|
205 | + 'DE' => esc_html__('Germany', 'give'), |
|
206 | + 'GR' => esc_html__('Greece', 'give'), |
|
207 | + 'GH' => esc_html__('Ghana', 'give'), |
|
208 | + 'GI' => esc_html__('Gibraltar', 'give'), |
|
209 | + 'GL' => esc_html__('Greenland', 'give'), |
|
210 | + 'GD' => esc_html__('Grenada', 'give'), |
|
211 | + 'GP' => esc_html__('Guadeloupe', 'give'), |
|
212 | + 'GU' => esc_html__('Guam', 'give'), |
|
213 | + 'GT' => esc_html__('Guatemala', 'give'), |
|
214 | + 'GG' => esc_html__('Guernsey', 'give'), |
|
215 | + 'GN' => esc_html__('Guinea', 'give'), |
|
216 | + 'GW' => esc_html__('Guinea-Bissau', 'give'), |
|
217 | + 'GY' => esc_html__('Guyana', 'give'), |
|
218 | + 'HT' => esc_html__('Haiti', 'give'), |
|
219 | + 'HM' => esc_html__('Heard and McDonald Islands', 'give'), |
|
220 | + 'VA' => esc_html__('Holy See (City Vatican State)', 'give'), |
|
221 | + 'HN' => esc_html__('Honduras', 'give'), |
|
222 | + 'HK' => esc_html__('Hong Kong', 'give'), |
|
223 | + 'HU' => esc_html__('Hungary', 'give'), |
|
224 | + 'IS' => esc_html__('Iceland', 'give'), |
|
225 | + 'IN' => esc_html__('India', 'give'), |
|
226 | + 'ID' => esc_html__('Indonesia', 'give'), |
|
227 | + 'IR' => esc_html__('Iran', 'give'), |
|
228 | + 'IQ' => esc_html__('Iraq', 'give'), |
|
229 | + 'IE' => esc_html__('Ireland', 'give'), |
|
230 | + 'IM' => esc_html__('Isle of Man', 'give'), |
|
231 | + 'IL' => esc_html__('Israel', 'give'), |
|
232 | + 'IT' => esc_html__('Italy', 'give'), |
|
233 | + 'JM' => esc_html__('Jamaica', 'give'), |
|
234 | + 'JP' => esc_html__('Japan', 'give'), |
|
235 | + 'JE' => esc_html__('Jersey', 'give'), |
|
236 | + 'JO' => esc_html__('Jordan', 'give'), |
|
237 | + 'KZ' => esc_html__('Kazakhstan', 'give'), |
|
238 | + 'KE' => esc_html__('Kenya', 'give'), |
|
239 | + 'KI' => esc_html__('Kiribati', 'give'), |
|
240 | + 'KW' => esc_html__('Kuwait', 'give'), |
|
241 | + 'KG' => esc_html__('Kyrgyzstan', 'give'), |
|
242 | + 'LA' => esc_html__('Lao People\'s Democratic Republic', 'give'), |
|
243 | + 'LV' => esc_html__('Latvia', 'give'), |
|
244 | + 'LB' => esc_html__('Lebanon', 'give'), |
|
245 | + 'LS' => esc_html__('Lesotho', 'give'), |
|
246 | + 'LR' => esc_html__('Liberia', 'give'), |
|
247 | + 'LY' => esc_html__('Libyan Arab Jamahiriya', 'give'), |
|
248 | + 'LI' => esc_html__('Liechtenstein', 'give'), |
|
249 | + 'LT' => esc_html__('Lithuania', 'give'), |
|
250 | + 'LU' => esc_html__('Luxembourg', 'give'), |
|
251 | + 'MO' => esc_html__('Macau', 'give'), |
|
252 | + 'MK' => esc_html__('Macedonia', 'give'), |
|
253 | + 'MG' => esc_html__('Madagascar', 'give'), |
|
254 | + 'MW' => esc_html__('Malawi', 'give'), |
|
255 | + 'MY' => esc_html__('Malaysia', 'give'), |
|
256 | + 'MV' => esc_html__('Maldives', 'give'), |
|
257 | + 'ML' => esc_html__('Mali', 'give'), |
|
258 | + 'MT' => esc_html__('Malta', 'give'), |
|
259 | + 'MH' => esc_html__('Marshall Islands', 'give'), |
|
260 | + 'MQ' => esc_html__('Martinique', 'give'), |
|
261 | + 'MR' => esc_html__('Mauritania', 'give'), |
|
262 | + 'MU' => esc_html__('Mauritius', 'give'), |
|
263 | + 'YT' => esc_html__('Mayotte', 'give'), |
|
264 | + 'MX' => esc_html__('Mexico', 'give'), |
|
265 | + 'FM' => esc_html__('Micronesia', 'give'), |
|
266 | + 'MD' => esc_html__('Moldova, Republic of', 'give'), |
|
267 | + 'MC' => esc_html__('Monaco', 'give'), |
|
268 | + 'MN' => esc_html__('Mongolia', 'give'), |
|
269 | + 'ME' => esc_html__('Montenegro', 'give'), |
|
270 | + 'MS' => esc_html__('Montserrat', 'give'), |
|
271 | + 'MA' => esc_html__('Morocco', 'give'), |
|
272 | + 'MZ' => esc_html__('Mozambique', 'give'), |
|
273 | + 'MM' => esc_html__('Myanmar', 'give'), |
|
274 | + 'NA' => esc_html__('Namibia', 'give'), |
|
275 | + 'NR' => esc_html__('Nauru', 'give'), |
|
276 | + 'NP' => esc_html__('Nepal', 'give'), |
|
277 | + 'NL' => esc_html__('Netherlands', 'give'), |
|
278 | + 'AN' => esc_html__('Netherlands Antilles', 'give'), |
|
279 | + 'NC' => esc_html__('New Caledonia', 'give'), |
|
280 | + 'NZ' => esc_html__('New Zealand', 'give'), |
|
281 | + 'NI' => esc_html__('Nicaragua', 'give'), |
|
282 | + 'NE' => esc_html__('Niger', 'give'), |
|
283 | + 'NG' => esc_html__('Nigeria', 'give'), |
|
284 | + 'NU' => esc_html__('Niue', 'give'), |
|
285 | + 'NF' => esc_html__('Norfolk Island', 'give'), |
|
286 | + 'KP' => esc_html__('North Korea', 'give'), |
|
287 | + 'MP' => esc_html__('Northern Mariana Islands', 'give'), |
|
288 | + 'NO' => esc_html__('Norway', 'give'), |
|
289 | + 'OM' => esc_html__('Oman', 'give'), |
|
290 | + 'PK' => esc_html__('Pakistan', 'give'), |
|
291 | + 'PW' => esc_html__('Palau', 'give'), |
|
292 | + 'PS' => esc_html__('Palestinian Territories', 'give'), |
|
293 | + 'PA' => esc_html__('Panama', 'give'), |
|
294 | + 'PG' => esc_html__('Papua New Guinea', 'give'), |
|
295 | + 'PY' => esc_html__('Paraguay', 'give'), |
|
296 | + 'PE' => esc_html__('Peru', 'give'), |
|
297 | + 'PH' => esc_html__('Phillipines', 'give'), |
|
298 | + 'PN' => esc_html__('Pitcairn Island', 'give'), |
|
299 | + 'PL' => esc_html__('Poland', 'give'), |
|
300 | + 'PT' => esc_html__('Portugal', 'give'), |
|
301 | + 'PR' => esc_html__('Puerto Rico', 'give'), |
|
302 | + 'QA' => esc_html__('Qatar', 'give'), |
|
303 | + 'RE' => esc_html__('Reunion Island', 'give'), |
|
304 | + 'RO' => esc_html__('Romania', 'give'), |
|
305 | + 'RU' => esc_html__('Russian Federation', 'give'), |
|
306 | + 'RW' => esc_html__('Rwanda', 'give'), |
|
307 | + 'SH' => esc_html__('Saint Helena', 'give'), |
|
308 | + 'KN' => esc_html__('Saint Kitts and Nevis', 'give'), |
|
309 | + 'LC' => esc_html__('Saint Lucia', 'give'), |
|
310 | + 'PM' => esc_html__('Saint Pierre and Miquelon', 'give'), |
|
311 | + 'VC' => esc_html__('Saint Vincent and the Grenadines', 'give'), |
|
312 | + 'SM' => esc_html__('San Marino', 'give'), |
|
313 | + 'ST' => esc_html__('Sao Tome and Principe', 'give'), |
|
314 | + 'SA' => esc_html__('Saudi Arabia', 'give'), |
|
315 | + 'SN' => esc_html__('Senegal', 'give'), |
|
316 | + 'RS' => esc_html__('Serbia', 'give'), |
|
317 | + 'SC' => esc_html__('Seychelles', 'give'), |
|
318 | + 'SL' => esc_html__('Sierra Leone', 'give'), |
|
319 | + 'SG' => esc_html__('Singapore', 'give'), |
|
320 | + 'SK' => esc_html__('Slovak Republic', 'give'), |
|
321 | + 'SI' => esc_html__('Slovenia', 'give'), |
|
322 | + 'SB' => esc_html__('Solomon Islands', 'give'), |
|
323 | + 'SO' => esc_html__('Somalia', 'give'), |
|
324 | + 'ZA' => esc_html__('South Africa', 'give'), |
|
325 | + 'GS' => esc_html__('South Georgia', 'give'), |
|
326 | + 'KR' => esc_html__('South Korea', 'give'), |
|
327 | + 'ES' => esc_html__('Spain', 'give'), |
|
328 | + 'LK' => esc_html__('Sri Lanka', 'give'), |
|
329 | + 'SD' => esc_html__('Sudan', 'give'), |
|
330 | + 'SR' => esc_html__('Suriname', 'give'), |
|
331 | + 'SJ' => esc_html__('Svalbard and Jan Mayen Islands', 'give'), |
|
332 | + 'SZ' => esc_html__('Swaziland', 'give'), |
|
333 | + 'SE' => esc_html__('Sweden', 'give'), |
|
334 | + 'CH' => esc_html__('Switzerland', 'give'), |
|
335 | + 'SY' => esc_html__('Syrian Arab Republic', 'give'), |
|
336 | + 'TW' => esc_html__('Taiwan', 'give'), |
|
337 | + 'TJ' => esc_html__('Tajikistan', 'give'), |
|
338 | + 'TZ' => esc_html__('Tanzania', 'give'), |
|
339 | + 'TG' => esc_html__('Togo', 'give'), |
|
340 | + 'TK' => esc_html__('Tokelau', 'give'), |
|
341 | + 'TO' => esc_html__('Tonga', 'give'), |
|
342 | + 'TH' => esc_html__('Thailand', 'give'), |
|
343 | + 'TT' => esc_html__('Trinidad and Tobago', 'give'), |
|
344 | + 'TN' => esc_html__('Tunisia', 'give'), |
|
345 | + 'TR' => esc_html__('Turkey', 'give'), |
|
346 | + 'TM' => esc_html__('Turkmenistan', 'give'), |
|
347 | + 'TC' => esc_html__('Turks and Caicos Islands', 'give'), |
|
348 | + 'TV' => esc_html__('Tuvalu', 'give'), |
|
349 | + 'UG' => esc_html__('Uganda', 'give'), |
|
350 | + 'UA' => esc_html__('Ukraine', 'give'), |
|
351 | + 'AE' => esc_html__('United Arab Emirates', 'give'), |
|
352 | + 'UY' => esc_html__('Uruguay', 'give'), |
|
353 | + 'UM' => esc_html__('US Minor Outlying Islands', 'give'), |
|
354 | + 'UZ' => esc_html__('Uzbekistan', 'give'), |
|
355 | + 'VU' => esc_html__('Vanuatu', 'give'), |
|
356 | + 'VE' => esc_html__('Venezuela', 'give'), |
|
357 | + 'VN' => esc_html__('Vietnam', 'give'), |
|
358 | + 'VG' => esc_html__('Virgin Islands (British)', 'give'), |
|
359 | + 'VI' => esc_html__('Virgin Islands (USA)', 'give'), |
|
360 | + 'WF' => esc_html__('Wallis and Futuna Islands', 'give'), |
|
361 | + 'EH' => esc_html__('Western Sahara', 'give'), |
|
362 | + 'WS' => esc_html__('Western Samoa', 'give'), |
|
363 | + 'YE' => esc_html__('Yemen', 'give'), |
|
364 | + 'YU' => esc_html__('Yugoslavia', 'give'), |
|
365 | + 'ZM' => esc_html__('Zambia', 'give'), |
|
366 | + 'ZW' => esc_html__('Zimbabwe', 'give') |
|
367 | 367 | ); |
368 | 368 | |
369 | - return apply_filters( 'give_countries', $countries ); |
|
369 | + return apply_filters('give_countries', $countries); |
|
370 | 370 | } |
371 | 371 | |
372 | 372 | /** |
@@ -447,7 +447,7 @@ discard block |
||
447 | 447 | 'AP' => 'Armed Forces - Pacific' |
448 | 448 | ); |
449 | 449 | |
450 | - return apply_filters( 'give_us_states', $states ); |
|
450 | + return apply_filters('give_us_states', $states); |
|
451 | 451 | } |
452 | 452 | |
453 | 453 | /** |
@@ -460,22 +460,22 @@ discard block |
||
460 | 460 | function give_get_provinces_list() { |
461 | 461 | $provinces = array( |
462 | 462 | '' => '', |
463 | - 'AB' => esc_html__('Alberta', 'give' ), |
|
464 | - 'BC' => esc_html__('British Columbia', 'give' ), |
|
465 | - 'MB' => esc_html__('Manitoba', 'give' ), |
|
466 | - 'NB' => esc_html__('New Brunswick', 'give' ), |
|
467 | - 'NL' => esc_html__('Newfoundland and Labrador', 'give' ), |
|
468 | - 'NS' => esc_html__('Nova Scotia', 'give' ), |
|
469 | - 'NT' => esc_html__('Northwest Territories', 'give' ), |
|
470 | - 'NU' => esc_html__('Nunavut', 'give' ), |
|
471 | - 'ON' => esc_html__('Ontario', 'give' ), |
|
472 | - 'PE' => esc_html__('Prince Edward Island', 'give' ), |
|
473 | - 'QC' => esc_html__('Quebec', 'give' ), |
|
474 | - 'SK' => esc_html__('Saskatchewan', 'give' ), |
|
475 | - 'YT' => esc_html__('Yukon', 'give' ) |
|
463 | + 'AB' => esc_html__('Alberta', 'give'), |
|
464 | + 'BC' => esc_html__('British Columbia', 'give'), |
|
465 | + 'MB' => esc_html__('Manitoba', 'give'), |
|
466 | + 'NB' => esc_html__('New Brunswick', 'give'), |
|
467 | + 'NL' => esc_html__('Newfoundland and Labrador', 'give'), |
|
468 | + 'NS' => esc_html__('Nova Scotia', 'give'), |
|
469 | + 'NT' => esc_html__('Northwest Territories', 'give'), |
|
470 | + 'NU' => esc_html__('Nunavut', 'give'), |
|
471 | + 'ON' => esc_html__('Ontario', 'give'), |
|
472 | + 'PE' => esc_html__('Prince Edward Island', 'give'), |
|
473 | + 'QC' => esc_html__('Quebec', 'give'), |
|
474 | + 'SK' => esc_html__('Saskatchewan', 'give'), |
|
475 | + 'YT' => esc_html__('Yukon', 'give') |
|
476 | 476 | ); |
477 | 477 | |
478 | - return apply_filters( 'give_canada_provinces', $provinces ); |
|
478 | + return apply_filters('give_canada_provinces', $provinces); |
|
479 | 479 | } |
480 | 480 | |
481 | 481 | /** |
@@ -497,7 +497,7 @@ discard block |
||
497 | 497 | 'WA' => 'Western Australia' |
498 | 498 | ); |
499 | 499 | |
500 | - return apply_filters( 'give_australian_states', $states ); |
|
500 | + return apply_filters('give_australian_states', $states); |
|
501 | 501 | } |
502 | 502 | |
503 | 503 | /** |
@@ -538,7 +538,7 @@ discard block |
||
538 | 538 | 'TO' => 'Tocantins' |
539 | 539 | ); |
540 | 540 | |
541 | - return apply_filters( 'give_brazil_states', $states ); |
|
541 | + return apply_filters('give_brazil_states', $states); |
|
542 | 542 | } |
543 | 543 | |
544 | 544 | /** |
@@ -555,7 +555,7 @@ discard block |
||
555 | 555 | 'NEW TERRITORIES' => 'New Territories' |
556 | 556 | ); |
557 | 557 | |
558 | - return apply_filters( 'give_hong_kong_states', $states ); |
|
558 | + return apply_filters('give_hong_kong_states', $states); |
|
559 | 559 | } |
560 | 560 | |
561 | 561 | /** |
@@ -589,7 +589,7 @@ discard block |
||
589 | 589 | 'ZA' => 'Zala' |
590 | 590 | ); |
591 | 591 | |
592 | - return apply_filters( 'give_hungary_states', $states ); |
|
592 | + return apply_filters('give_hungary_states', $states); |
|
593 | 593 | } |
594 | 594 | |
595 | 595 | /** |
@@ -635,7 +635,7 @@ discard block |
||
635 | 635 | 'CN32' => 'Xinjiang / 新疆' |
636 | 636 | ); |
637 | 637 | |
638 | - return apply_filters( 'give_chinese_states', $states ); |
|
638 | + return apply_filters('give_chinese_states', $states); |
|
639 | 639 | } |
640 | 640 | |
641 | 641 | /** |
@@ -664,7 +664,7 @@ discard block |
||
664 | 664 | 'WC' => 'West Coast' |
665 | 665 | ); |
666 | 666 | |
667 | - return apply_filters( 'give_new_zealand_states', $states ); |
|
667 | + return apply_filters('give_new_zealand_states', $states); |
|
668 | 668 | } |
669 | 669 | |
670 | 670 | /** |
@@ -712,7 +712,7 @@ discard block |
||
712 | 712 | 'PB' => 'Papua Barat' |
713 | 713 | ); |
714 | 714 | |
715 | - return apply_filters( 'give_indonesia_states', $states ); |
|
715 | + return apply_filters('give_indonesia_states', $states); |
|
716 | 716 | } |
717 | 717 | |
718 | 718 | /** |
@@ -762,7 +762,7 @@ discard block |
||
762 | 762 | 'PY' => 'Pondicherry (Puducherry)' |
763 | 763 | ); |
764 | 764 | |
765 | - return apply_filters( 'give_indian_states', $states ); |
|
765 | + return apply_filters('give_indian_states', $states); |
|
766 | 766 | } |
767 | 767 | |
768 | 768 | /** |
@@ -792,7 +792,7 @@ discard block |
||
792 | 792 | 'PJY' => 'W.P. Putrajaya' |
793 | 793 | ); |
794 | 794 | |
795 | - return apply_filters( 'give_malaysian_states', $states ); |
|
795 | + return apply_filters('give_malaysian_states', $states); |
|
796 | 796 | } |
797 | 797 | |
798 | 798 | /** |
@@ -815,7 +815,7 @@ discard block |
||
815 | 815 | 'WC' => 'Western Cape' |
816 | 816 | ); |
817 | 817 | |
818 | - return apply_filters( 'give_south_african_states', $states ); |
|
818 | + return apply_filters('give_south_african_states', $states); |
|
819 | 819 | } |
820 | 820 | |
821 | 821 | /** |
@@ -906,7 +906,7 @@ discard block |
||
906 | 906 | 'TH-35' => 'Yasothon (ยโสธร)' |
907 | 907 | ); |
908 | 908 | |
909 | - return apply_filters( 'give_thailand_states', $states ); |
|
909 | + return apply_filters('give_thailand_states', $states); |
|
910 | 910 | } |
911 | 911 | |
912 | 912 | /** |
@@ -918,59 +918,59 @@ discard block |
||
918 | 918 | function give_get_spain_states_list() { |
919 | 919 | $states = array( |
920 | 920 | '' => '', |
921 | - 'C' => esc_html__( 'A Coruña', 'give' ), |
|
922 | - 'VI' => esc_html__( 'Araba', 'give' ), |
|
923 | - 'AB' => esc_html__( 'Albacete', 'give' ), |
|
924 | - 'A' => esc_html__( 'Alicante', 'give' ), |
|
925 | - 'AL' => esc_html__( 'Almería', 'give' ), |
|
926 | - 'O' => esc_html__( 'Asturias', 'give' ), |
|
927 | - 'AV' => esc_html__( 'Ávila', 'give' ), |
|
928 | - 'BA' => esc_html__( 'Badajoz', 'give' ), |
|
929 | - 'PM' => esc_html__( 'Baleares', 'give' ), |
|
930 | - 'B' => esc_html__( 'Barcelona', 'give' ), |
|
931 | - 'BU' => esc_html__( 'Burgos', 'give' ), |
|
932 | - 'CC' => esc_html__( 'Cáceres', 'give' ), |
|
933 | - 'CA' => esc_html__( 'Cádiz', 'give' ), |
|
934 | - 'S' => esc_html__( 'Cantabria', 'give' ), |
|
935 | - 'CS' => esc_html__( 'Castellón', 'give' ), |
|
936 | - 'CE' => esc_html__( 'Ceuta', 'give' ), |
|
937 | - 'CR' => esc_html__( 'Ciudad Real', 'give' ), |
|
938 | - 'CO' => esc_html__( 'Córdoba', 'give' ), |
|
939 | - 'CU' => esc_html__( 'Cuenca', 'give' ), |
|
940 | - 'GI' => esc_html__( 'Girona', 'give' ), |
|
941 | - 'GR' => esc_html__( 'Granada', 'give' ), |
|
942 | - 'GU' => esc_html__( 'Guadalajara', 'give' ), |
|
943 | - 'SS' => esc_html__( 'Gipuzkoa', 'give' ), |
|
944 | - 'H' => esc_html__( 'Huelva', 'give' ), |
|
945 | - 'HU' => esc_html__( 'Huesca', 'give' ), |
|
946 | - 'J' => esc_html__( 'Jaén', 'give' ), |
|
947 | - 'LO' => esc_html__( 'La Rioja', 'give' ), |
|
948 | - 'GC' => esc_html__( 'Las Palmas', 'give' ), |
|
949 | - 'LE' => esc_html__( 'León', 'give' ), |
|
950 | - 'L' => esc_html__( 'Lleida', 'give' ), |
|
951 | - 'LU' => esc_html__( 'Lugo', 'give' ), |
|
952 | - 'M' => esc_html__( 'Madrid', 'give' ), |
|
953 | - 'MA' => esc_html__( 'Málaga', 'give' ), |
|
954 | - 'ML' => esc_html__( 'Melilla', 'give' ), |
|
955 | - 'MU' => esc_html__( 'Murcia', 'give' ), |
|
956 | - 'NA' => esc_html__( 'Navarra', 'give' ), |
|
957 | - 'OR' => esc_html__( 'Ourense', 'give' ), |
|
958 | - 'P' => esc_html__( 'Palencia', 'give' ), |
|
959 | - 'PO' => esc_html__( 'Pontevedra', 'give' ), |
|
960 | - 'SA' => esc_html__( 'Salamanca', 'give' ), |
|
961 | - 'TF' => esc_html__( 'Santa Cruz de Tenerife', 'give' ), |
|
962 | - 'SG' => esc_html__( 'Segovia', 'give' ), |
|
963 | - 'SE' => esc_html__( 'Sevilla', 'give' ), |
|
964 | - 'SO' => esc_html__( 'Soria', 'give' ), |
|
965 | - 'T' => esc_html__( 'Tarragona', 'give' ), |
|
966 | - 'TE' => esc_html__( 'Teruel', 'give' ), |
|
967 | - 'TO' => esc_html__( 'Toledo', 'give' ), |
|
968 | - 'V' => esc_html__( 'Valencia', 'give' ), |
|
969 | - 'VA' => esc_html__( 'Valladolid', 'give' ), |
|
970 | - 'BI' => esc_html__( 'Bizkaia', 'give' ), |
|
971 | - 'ZA' => esc_html__( 'Zamora', 'give' ), |
|
972 | - 'Z' => esc_html__( 'Zaragoza', 'give' ) |
|
921 | + 'C' => esc_html__('A Coruña', 'give'), |
|
922 | + 'VI' => esc_html__('Araba', 'give'), |
|
923 | + 'AB' => esc_html__('Albacete', 'give'), |
|
924 | + 'A' => esc_html__('Alicante', 'give'), |
|
925 | + 'AL' => esc_html__('Almería', 'give'), |
|
926 | + 'O' => esc_html__('Asturias', 'give'), |
|
927 | + 'AV' => esc_html__('Ávila', 'give'), |
|
928 | + 'BA' => esc_html__('Badajoz', 'give'), |
|
929 | + 'PM' => esc_html__('Baleares', 'give'), |
|
930 | + 'B' => esc_html__('Barcelona', 'give'), |
|
931 | + 'BU' => esc_html__('Burgos', 'give'), |
|
932 | + 'CC' => esc_html__('Cáceres', 'give'), |
|
933 | + 'CA' => esc_html__('Cádiz', 'give'), |
|
934 | + 'S' => esc_html__('Cantabria', 'give'), |
|
935 | + 'CS' => esc_html__('Castellón', 'give'), |
|
936 | + 'CE' => esc_html__('Ceuta', 'give'), |
|
937 | + 'CR' => esc_html__('Ciudad Real', 'give'), |
|
938 | + 'CO' => esc_html__('Córdoba', 'give'), |
|
939 | + 'CU' => esc_html__('Cuenca', 'give'), |
|
940 | + 'GI' => esc_html__('Girona', 'give'), |
|
941 | + 'GR' => esc_html__('Granada', 'give'), |
|
942 | + 'GU' => esc_html__('Guadalajara', 'give'), |
|
943 | + 'SS' => esc_html__('Gipuzkoa', 'give'), |
|
944 | + 'H' => esc_html__('Huelva', 'give'), |
|
945 | + 'HU' => esc_html__('Huesca', 'give'), |
|
946 | + 'J' => esc_html__('Jaén', 'give'), |
|
947 | + 'LO' => esc_html__('La Rioja', 'give'), |
|
948 | + 'GC' => esc_html__('Las Palmas', 'give'), |
|
949 | + 'LE' => esc_html__('León', 'give'), |
|
950 | + 'L' => esc_html__('Lleida', 'give'), |
|
951 | + 'LU' => esc_html__('Lugo', 'give'), |
|
952 | + 'M' => esc_html__('Madrid', 'give'), |
|
953 | + 'MA' => esc_html__('Málaga', 'give'), |
|
954 | + 'ML' => esc_html__('Melilla', 'give'), |
|
955 | + 'MU' => esc_html__('Murcia', 'give'), |
|
956 | + 'NA' => esc_html__('Navarra', 'give'), |
|
957 | + 'OR' => esc_html__('Ourense', 'give'), |
|
958 | + 'P' => esc_html__('Palencia', 'give'), |
|
959 | + 'PO' => esc_html__('Pontevedra', 'give'), |
|
960 | + 'SA' => esc_html__('Salamanca', 'give'), |
|
961 | + 'TF' => esc_html__('Santa Cruz de Tenerife', 'give'), |
|
962 | + 'SG' => esc_html__('Segovia', 'give'), |
|
963 | + 'SE' => esc_html__('Sevilla', 'give'), |
|
964 | + 'SO' => esc_html__('Soria', 'give'), |
|
965 | + 'T' => esc_html__('Tarragona', 'give'), |
|
966 | + 'TE' => esc_html__('Teruel', 'give'), |
|
967 | + 'TO' => esc_html__('Toledo', 'give'), |
|
968 | + 'V' => esc_html__('Valencia', 'give'), |
|
969 | + 'VA' => esc_html__('Valladolid', 'give'), |
|
970 | + 'BI' => esc_html__('Bizkaia', 'give'), |
|
971 | + 'ZA' => esc_html__('Zamora', 'give'), |
|
972 | + 'Z' => esc_html__('Zaragoza', 'give') |
|
973 | 973 | ); |
974 | 974 | |
975 | - return apply_filters( 'give_spain_states', $states ); |
|
975 | + return apply_filters('give_spain_states', $states); |
|
976 | 976 | } |