Skip to main content

Filter: wu_country_get_states

Returns the list of states for this country.

Parameters

NameTypeDescription
$statesarrayList of states in a XX => Name format.
$country_codestringTwo-letter ISO code for the country.
$current_country\WP_Ultimo\Country\CountryInstance of the current class.

Since

  • 2.0.11

Source

Defined in inc/country/class-country.php at line 86

Returns

The filtered list of states.