Skip to main content

Filter: wu_country_get_cities

Returns the list of cities for a state in a country.

Parameters

NameTypeDescription
$citiesarrayList of state city names. No keys are present.
$country_codestringTwo-letter ISO code for the country.
$state_codestringTwo-letter ISO code for the state.
$current_country\WP_Ultimo\Country\CountryInstance of the current class.

Since

  • 2.0.11

Source

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

Returns

The filtered list of states.