wcv_countries_list

Description

apply_filters( 'wcv_countries_list', array( $attributes ) )

Parameters (1) (array)

Sample

array(
  'AF' => __( 'Afghanistan', 'wcvendors-pro' ),
  'AX' => __( 'Åland Islands', 'wcvendors-pro' ),
  'AL' => __( 'Albania', 'wcvendors-pro' ),
  'DZ' => __( 'Algeria', 'wcvendors-pro' ),
  'AS' => __( 'American Samoa', 'wcvendors-pro' ),
  'AD' => __( 'Andorra', 'wcvendors-pro' ),
  'AO' => __( 'Angola', 'wcvendors-pro' ),
  'AI' => __( 'Anguilla', 'wcvendors-pro' ),
  'AQ' => __( 'Antarctica', 'wcvendors-pro' ),
  'AG' => __( 'Antigua and Barbuda', 'wcvendors-pro' ),
  'AR' => __( 'Argentina', 'wcvendors-pro' ),
  'AM' => __( 'Armenia', 'wcvendors-pro' ),
  'AW' => __( 'Aruba', 'wcvendors-pro' ),
  'AU' => __( 'Australia', 'wcvendors-pro' ),
  'AT' => __( 'Austria', 'wcvendors-pro' ),
  'AZ' => __( 'Azerbaijan', 'wcvendors-pro' ),
  'BS' => __( 'Bahamas', 'wcvendors-pro' ),
  'BH' => __( 'Bahrain', 'wcvendors-pro' ),
  'BD' => __( 'Bangladesh', 'wcvendors-pro' ),
  'BB' => __( 'Barbados', 'wcvendors-pro' ),
  'BY' => __( 'Belarus', 'wcvendors-pro' ),
  'BE' => __( 'Belgium', 'wcvendors-pro' ),
  'PW' => __( 'Belau', 'wcvendors-pro' ),
  'BZ' => __( 'Belize', 'wcvendors-pro' ),
  'BJ' => __( 'Benin', 'wcvendors-pro' ),
  'BM' => __( 'Bermuda', 'wcvendors-pro' ),
  'BT' => __( 'Bhutan', 'wcvendors-pro' ),
  'BO' => __( 'Bolivia', 'wcvendors-pro' ),
  'BQ' => __( 'Bonaire, Saint Eustatius and Saba', 'wcvendors-pro' ),
  'BA' => __( 'Bosnia and Herzegovina', 'wcvendors-pro' ),
  'BW' => __( 'Botswana', 'wcvendors-pro' ),
  'BV' => __( 'Bouvet Island', 'wcvendors-pro' ),
  'BR' => __( 'Brazil', 'wcvendors-pro' ),
  'IO' => __( 'British Indian Ocean Territory', 'wcvendors-pro' ),
  'VG' => __( 'British Virgin Islands', 'wcvendors-pro' ),
  'BN' => __( 'Brunei', 'wcvendors-pro' ),
  'BG' => __( 'Bulgaria', 'wcvendors-pro' ),
  'BF' => __( 'Burkina Faso', 'wcvendors-pro' ),
  'BI' => __( 'Burundi', 'wcvendors-pro' ),
  'KH' => __( 'Cambodia', 'wcvendors-pro' ),
  'CM' => __( 'Cameroon', 'wcvendors-pro' ),
  'CA' => __( 'Canada', 'wcvendors-pro' ),
  'CV' => __( 'Cape Verde', 'wcvendors-pro' ),
  'KY' => __( 'Cayman Islands', 'wcvendors-pro' ),
  'CF' => __( 'Central African Republic', 'wcvendors-pro' ),
  'TD' => __( 'Chad', 'wcvendors-pro' ),
  'CL' => __( 'Chile', 'wcvendors-pro' ),
  'CN' => __( 'China', 'wcvendors-pro' ),
  'CX' => __( 'Christmas Island', 'wcvendors-pro' ),
  'CC' => __( 'Cocos (Keeling) Islands', 'wcvendors-pro' ),
  'CO' => __( 'Colombia', 'wcvendors-pro' ),
  'KM' => __( 'Comoros', 'wcvendors-pro' ),
  'CG' => __( 'Congo (Brazzaville)', 'wcvendors-pro' ),
  'CD' => __( 'Congo (Kinshasa)', 'wcvendors-pro' ),
  'CK' => __( 'Cook Islands', 'wcvendors-pro' ),
  'CR' => __( 'Costa Rica', 'wcvendors-pro' ),
  'HR' => __( 'Croatia', 'wcvendors-pro' ),
  'CU' => __( 'Cuba', 'wcvendors-pro' ),
  'CW' => __( 'Curaçao', 'wcvendors-pro' ),
  'CY' => __( 'Cyprus', 'wcvendors-pro' ),
  'CZ' => __( 'Czech Republic', 'wcvendors-pro' ),
  'DK' => __( 'Denmark', 'wcvendors-pro' ),
  'DJ' => __( 'Djibouti', 'wcvendors-pro' ),
  'DM' => __( 'Dominica', 'wcvendors-pro' ),
  'DO' => __( 'Dominican Republic', 'wcvendors-pro' ),
  'EC' => __( 'Ecuador', 'wcvendors-pro' ),
  'EG' => __( 'Egypt', 'wcvendors-pro' ),
  'SV' => __( 'El Salvador', 'wcvendors-pro' ),
  'GQ' => __( 'Equatorial Guinea', 'wcvendors-pro' ),
  'ER' => __( 'Eritrea', 'wcvendors-pro' ),
  'EE' => __( 'Estonia', 'wcvendors-pro' ),
  'ET' => __( 'Ethiopia', 'wcvendors-pro' ),
  'FK' => __( 'Falkland Islands', 'wcvendors-pro' ),
  'FO' => __( 'Faroe Islands', 'wcvendors-pro' ),
  'FJ' => __( 'Fiji', 'wcvendors-pro' ),
  'FI' => __( 'Finland', 'wcvendors-pro' ),
  'FR' => __( 'France', 'wcvendors-pro' ),
  'GF' => __( 'French Guiana', 'wcvendors-pro' ),
  'PF' => __( 'French Polynesia', 'wcvendors-pro' ),
  'TF' => __( 'French Southern Territories', 'wcvendors-pro' ),
  'GA' => __( 'Gabon', 'wcvendors-pro' ),
  'GM' => __( 'Gambia', 'wcvendors-pro' ),
  'GE' => __( 'Georgia', 'wcvendors-pro' ),
  'DE' => __( 'Germany', 'wcvendors-pro' ),
  'GH' => __( 'Ghana', 'wcvendors-pro' ),
  'GI' => __( 'Gibraltar', 'wcvendors-pro' ),
  'GR' => __( 'Greece', 'wcvendors-pro' ),
  'GL' => __( 'Greenland', 'wcvendors-pro' ),
  'GD' => __( 'Grenada', 'wcvendors-pro' ),
  'GP' => __( 'Guadeloupe', 'wcvendors-pro' ),
  'GU' => __( 'Guam', 'wcvendors-pro' ),
  'GT' => __( 'Guatemala', 'wcvendors-pro' ),
  'GG' => __( 'Guernsey', 'wcvendors-pro' ),
  'GN' => __( 'Guinea', 'wcvendors-pro' ),
  'GW' => __( 'Guinea-Bissau', 'wcvendors-pro' ),
  'GY' => __( 'Guyana', 'wcvendors-pro' ),
  'HT' => __( 'Haiti', 'wcvendors-pro' ),
  'HM' => __( 'Heard Island and McDonald Islands', 'wcvendors-pro' ),
  'HN' => __( 'Honduras', 'wcvendors-pro' ),
  'HK' => __( 'Hong Kong', 'wcvendors-pro' ),
  'HU' => __( 'Hungary', 'wcvendors-pro' ),
  'IS' => __( 'Iceland', 'wcvendors-pro' ),
  'IN' => __( 'India', 'wcvendors-pro' ),
  'ID' => __( 'Indonesia', 'wcvendors-pro' ),
  'IR' => __( 'Iran', 'wcvendors-pro' ),
  'IQ' => __( 'Iraq', 'wcvendors-pro' ),
  'IE' => __( 'Republic of Ireland', 'wcvendors-pro' ),
  'IM' => __( 'Isle of Man', 'wcvendors-pro' ),
  'IL' => __( 'Israel', 'wcvendors-pro' ),
  'IT' => __( 'Italy', 'wcvendors-pro' ),
  'CI' => __( 'Ivory Coast', 'wcvendors-pro' ),
  'JM' => __( 'Jamaica', 'wcvendors-pro' ),
  'JP' => __( 'Japan', 'wcvendors-pro' ),
  'JE' => __( 'Jersey', 'wcvendors-pro' ),
  'JO' => __( 'Jordan', 'wcvendors-pro' ),
  'KZ' => __( 'Kazakhstan', 'wcvendors-pro' ),
  'KE' => __( 'Kenya', 'wcvendors-pro' ),
  'KI' => __( 'Kiribati', 'wcvendors-pro' ),
  'KW' => __( 'Kuwait', 'wcvendors-pro' ),
  'KG' => __( 'Kyrgyzstan', 'wcvendors-pro' ),
  'LA' => __( 'Laos', 'wcvendors-pro' ),
  'LV' => __( 'Latvia', 'wcvendors-pro' ),
  'LB' => __( 'Lebanon', 'wcvendors-pro' ),
  'LS' => __( 'Lesotho', 'wcvendors-pro' ),
  'LR' => __( 'Liberia', 'wcvendors-pro' ),
  'LY' => __( 'Libya', 'wcvendors-pro' ),
  'LI' => __( 'Liechtenstein', 'wcvendors-pro' ),
  'LT' => __( 'Lithuania', 'wcvendors-pro' ),
  'LU' => __( 'Luxembourg', 'wcvendors-pro' ),
  'MO' => __( 'Macao S.A.R., China', 'wcvendors-pro' ),
  'MK' => __( 'Macedonia', 'wcvendors-pro' ),
  'MG' => __( 'Madagascar', 'wcvendors-pro' ),
  'MW' => __( 'Malawi', 'wcvendors-pro' ),
  'MY' => __( 'Malaysia', 'wcvendors-pro' ),
  'MV' => __( 'Maldives', 'wcvendors-pro' ),
  'ML' => __( 'Mali', 'wcvendors-pro' ),
  'MT' => __( 'Malta', 'wcvendors-pro' ),
  'MH' => __( 'Marshall Islands', 'wcvendors-pro' ),
  'MQ' => __( 'Martinique', 'wcvendors-pro' ),
  'MR' => __( 'Mauritania', 'wcvendors-pro' ),
  'MU' => __( 'Mauritius', 'wcvendors-pro' ),
  'YT' => __( 'Mayotte', 'wcvendors-pro' ),
  'MX' => __( 'Mexico', 'wcvendors-pro' ),
  'FM' => __( 'Micronesia', 'wcvendors-pro' ),
  'MD' => __( 'Moldova', 'wcvendors-pro' ),
  'MC' => __( 'Monaco', 'wcvendors-pro' ),
  'MN' => __( 'Mongolia', 'wcvendors-pro' ),
  'ME' => __( 'Montenegro', 'wcvendors-pro' ),
  'MS' => __( 'Montserrat', 'wcvendors-pro' ),
  'MA' => __( 'Morocco', 'wcvendors-pro' ),
  'MZ' => __( 'Mozambique', 'wcvendors-pro' ),
  'MM' => __( 'Myanmar', 'wcvendors-pro' ),
  'NA' => __( 'Namibia', 'wcvendors-pro' ),
  'NR' => __( 'Nauru', 'wcvendors-pro' ),
  'NP' => __( 'Nepal', 'wcvendors-pro' ),
  'NL' => __( 'Netherlands', 'wcvendors-pro' ),
  'NC' => __( 'New Caledonia', 'wcvendors-pro' ),
  'NZ' => __( 'New Zealand', 'wcvendors-pro' ),
  'NI' => __( 'Nicaragua', 'wcvendors-pro' ),
  'NE' => __( 'Niger', 'wcvendors-pro' ),
  'NG' => __( 'Nigeria', 'wcvendors-pro' ),
  'NU' => __( 'Niue', 'wcvendors-pro' ),
  'NF' => __( 'Norfolk Island', 'wcvendors-pro' ),
  'MP' => __( 'Northern Mariana Islands', 'wcvendors-pro' ),
  'KP' => __( 'North Korea', 'wcvendors-pro' ),
  'NO' => __( 'Norway', 'wcvendors-pro' ),
  'OM' => __( 'Oman', 'wcvendors-pro' ),
  'PK' => __( 'Pakistan', 'wcvendors-pro' ),
  'PS' => __( 'Palestinian Territory', 'wcvendors-pro' ),
  'PA' => __( 'Panama', 'wcvendors-pro' ),
  'PG' => __( 'Papua New Guinea', 'wcvendors-pro' ),
  'PY' => __( 'Paraguay', 'wcvendors-pro' ),
  'PE' => __( 'Peru', 'wcvendors-pro' ),
  'PH' => __( 'Philippines', 'wcvendors-pro' ),
  'PN' => __( 'Pitcairn', 'wcvendors-pro' ),
  'PL' => __( 'Poland', 'wcvendors-pro' ),
  'PT' => __( 'Portugal', 'wcvendors-pro' ),
  'PR' => __( 'Puerto Rico', 'wcvendors-pro' ),
  'QA' => __( 'Qatar', 'wcvendors-pro' ),
  'RE' => __( 'Reunion', 'wcvendors-pro' ),
  'RO' => __( 'Romania', 'wcvendors-pro' ),
  'RU' => __( 'Russia', 'wcvendors-pro' ),
  'RW' => __( 'Rwanda', 'wcvendors-pro' ),
  'BL' => __( 'Saint Barthélemy', 'wcvendors-pro' ),
  'SH' => __( 'Saint Helena', 'wcvendors-pro' ),
  'KN' => __( 'Saint Kitts and Nevis', 'wcvendors-pro' ),
  'LC' => __( 'Saint Lucia', 'wcvendors-pro' ),
  'MF' => __( 'Saint Martin (French part)', 'wcvendors-pro' ),
  'SX' => __( 'Saint Martin (Dutch part)', 'wcvendors-pro' ),
  'PM' => __( 'Saint Pierre and Miquelon', 'wcvendors-pro' ),
  'VC' => __( 'Saint Vincent and the Grenadines', 'wcvendors-pro' ),
  'SM' => __( 'San Marino', 'wcvendors-pro' ),
  'ST' => __( 'São Tomé and Príncipe', 'wcvendors-pro' ),
  'SA' => __( 'Saudi Arabia', 'wcvendors-pro' ),
  'SN' => __( 'Senegal', 'wcvendors-pro' ),
  'RS' => __( 'Serbia', 'wcvendors-pro' ),
  'SC' => __( 'Seychelles', 'wcvendors-pro' ),
  'SL' => __( 'Sierra Leone', 'wcvendors-pro' ),
  'SG' => __( 'Singapore', 'wcvendors-pro' ),
  'SK' => __( 'Slovakia', 'wcvendors-pro' ),
  'SI' => __( 'Slovenia', 'wcvendors-pro' ),
  'SB' => __( 'Solomon Islands', 'wcvendors-pro' ),
  'SO' => __( 'Somalia', 'wcvendors-pro' ),
  'ZA' => __( 'South Africa', 'wcvendors-pro' ),
  'GS' => __( 'South Georgia/Sandwich Islands', 'wcvendors-pro' ),
  'KR' => __( 'South Korea', 'wcvendors-pro' ),
  'SS' => __( 'South Sudan', 'wcvendors-pro' ),
  'ES' => __( 'Spain', 'wcvendors-pro' ),
  'LK' => __( 'Sri Lanka', 'wcvendors-pro' ),
  'SD' => __( 'Sudan', 'wcvendors-pro' ),
  'SR' => __( 'Suriname', 'wcvendors-pro' ),
  'SJ' => __( 'Svalbard and Jan Mayen', 'wcvendors-pro' ),
  'SZ' => __( 'Swaziland', 'wcvendors-pro' ),
  'SE' => __( 'Sweden', 'wcvendors-pro' ),
  'CH' => __( 'Switzerland', 'wcvendors-pro' ),
  'SY' => __( 'Syria', 'wcvendors-pro' ),
  'TW' => __( 'Taiwan', 'wcvendors-pro' ),
  'TJ' => __( 'Tajikistan', 'wcvendors-pro' ),
  'TZ' => __( 'Tanzania', 'wcvendors-pro' ),
  'TH' => __( 'Thailand', 'wcvendors-pro' ),
  'TL' => __( 'Timor-Leste', 'wcvendors-pro' ),
  'TG' => __( 'Togo', 'wcvendors-pro' ),
  'TK' => __( 'Tokelau', 'wcvendors-pro' ),
  'TO' => __( 'Tonga', 'wcvendors-pro' ),
  'TT' => __( 'Trinidad and Tobago', 'wcvendors-pro' ),
  'TN' => __( 'Tunisia', 'wcvendors-pro' ),
  'TR' => __( 'Turkey', 'wcvendors-pro' ),
  'TM' => __( 'Turkmenistan', 'wcvendors-pro' ),
  'TC' => __( 'Turks and Caicos Islands', 'wcvendors-pro' ),
  'TV' => __( 'Tuvalu', 'wcvendors-pro' ),
  'UG' => __( 'Uganda', 'wcvendors-pro' ),
  'UA' => __( 'Ukraine', 'wcvendors-pro' ),
  'AE' => __( 'United Arab Emirates', 'wcvendors-pro' ),
  'GB' => __( 'United Kingdom (UK)', 'wcvendors-pro' ),
  'US' => __( 'United States (US)', 'wcvendors-pro' ),
  'UM' => __( 'United States (US) Minor Outlying Islands', 'wcvendors-pro' ),
  'VI' => __( 'United States (US) Virgin Islands', 'wcvendors-pro' ),
  'UY' => __( 'Uruguay', 'wcvendors-pro' ),
  'UZ' => __( 'Uzbekistan', 'wcvendors-pro' ),
  'VU' => __( 'Vanuatu', 'wcvendors-pro' ),
  'VA' => __( 'Vatican', 'wcvendors-pro' ),
  'VE' => __( 'Venezuela', 'wcvendors-pro' ),
  'VN' => __( 'Vietnam', 'wcvendors-pro' ),
  'WF' => __( 'Wallis and Futuna', 'wcvendors-pro' ),
  'EH' => __( 'Western Sahara', 'wcvendors-pro' ),
  'WS' => __( 'Samoa', 'wcvendors-pro' ),
  'YE' => __( 'Yemen', 'wcvendors-pro' ),
  'ZM' => __( 'Zambia', 'wcvendors-pro' ),
  'ZW' => __( 'Zimbabwe', 'wcvendors-pro' ),
)

Usage Examples

To run the filter, copy this sample

$array_val = apply_filters( 'wcv_countries_list', $param );
  if ( ! empty( $array_val ) ) {

    // what has been modified...

}

To make a callback function, copy this sample

// the filter wcv_countries_list callback
function my_filter_function( $param ) {
  // do your thing here :-) ... 

  return $array_val;
}
add_filter( 'wcv_countries_list', 'my_filter_function', 10, 1 );

To remove the filter, copy this sample

//remove the filter
remove_filter( 'wcv_countries_list', 'my_filter_function', 10, 1 );

Defined

This filter is defined in the following source file(s)

  • wcvendors-pro/public/class-wcvendors-pro-form-helper.php line 810
    return $countries = apply_filters( 'wcv_countries_list', array(

filters

Updated on January 9, 2017

Was this article helpful?