'ES', 'currency' => 'EUR', 'phone_code' => 34, ]; /** * The type of nomenclature used to refer to the country sub-divisions. * * @since 2.0.11 * @var string */ protected $state_type = 'autonomous_community'; /** * Return the country name. * * @since 2.0.11 * @return string */ public function get_name() { return __('Spain', 'wp-ultimo'); } /** * Returns the list of states for ES. * * @since 2.0.11 * @return array The list of state/provinces for the country. */ protected function states() { return [ 'AN' => __('Andalusia', 'wp-ultimo'), 'AR' => __('Aragon', 'wp-ultimo'), 'AS' => __('Asturias', 'wp-ultimo'), 'PM' => __('Balearic Islands', 'wp-ultimo'), 'PV' => __('Basque Country', 'wp-ultimo'), 'BU' => __('Burgos Province', 'wp-ultimo'), 'CN' => __('Canary Islands', 'wp-ultimo'), 'CB' => __('Cantabria', 'wp-ultimo'), 'CL' => __('Castile and León', 'wp-ultimo'), 'CM' => __('Castilla La Mancha', 'wp-ultimo'), 'CT' => __('Catalonia', 'wp-ultimo'), 'CE' => __('Ceuta', 'wp-ultimo'), 'EX' => __('Extremadura', 'wp-ultimo'), 'GA' => __('Galicia', 'wp-ultimo'), 'RI' => __('La Rioja', 'wp-ultimo'), 'LE' => __('Léon', 'wp-ultimo'), 'MD' => __('Madrid', 'wp-ultimo'), 'ML' => __('Melilla', 'wp-ultimo'), 'MC' => __('Murcia', 'wp-ultimo'), 'NC' => __('Navarra', 'wp-ultimo'), 'P' => __('Palencia Province', 'wp-ultimo'), 'SA' => __('Salamanca Province', 'wp-ultimo'), 'SG' => __('Segovia Province', 'wp-ultimo'), 'SO' => __('Soria Province', 'wp-ultimo'), 'VC' => __('Valencia', 'wp-ultimo'), 'VA' => __('Valladolid Province', 'wp-ultimo'), 'ZA' => __('Zamora Province', 'wp-ultimo'), 'AV' => __('Ávila', 'wp-ultimo'), ]; } }