'ZA', 'currency' => 'ZAR', 'phone_code' => 27, ); /** * The type of nomenclature used to refer to the country sub-divisions. * * @since 2.0.11 * @var string */ protected $state_type = 'unknown'; /** * Return the country name. * * @since 2.0.11 * @return string */ public function get_name() { return __('South Africa', 'wp-ultimo'); } /** * Returns the list of states for ZA. * * @since 2.0.11 * @return array The list of state/provinces for the country. */ protected function states() { return array( 'EC' => __('Eastern Cape', 'wp-ultimo'), 'FS' => __('Free State', 'wp-ultimo'), 'GP' => __('Gauteng', 'wp-ultimo'), 'KZN' => __('KwaZulu-Natal', 'wp-ultimo'), 'LP' => __('Limpopo', 'wp-ultimo'), 'MP' => __('Mpumalanga', 'wp-ultimo'), 'NW' => __('North West', 'wp-ultimo'), 'NC' => __('Northern Cape', 'wp-ultimo'), 'WC' => __('Western Cape', 'wp-ultimo'), ); } }