<?php
defined('ABSPATH') or die('Forbidden');

/**
 * Cities and towns of the 9 provinces of South Africa
 *
 * @author woonetdigital
 * @version 1.0.0
 * @license http://opensource.org/licenses/gpl-license.php GNU Public License
 */

global $places;

$places['ZA'] = array(
  'GT' => array(
    'Johannesburg',
    'Pretoria',
    'Centurion',
    'Midrand',
    'Sandton',
    'Randburg',
    'Roodepoort',
    'Soweto',
    'Benoni',
    'Boksburg',
    'Germiston',
    'Springs',
    'Brakpan',
    'Alberton',
    'Kempton Park',
    'Edenvale',
    'Krugersdorp',
    'Vereeniging',
    'Vanderbijlpark',
    'Tembisa',
    'Bronkhorstspruit',
  ),
  'WC' => array(
    'Cape Town',
    'Stellenbosch',
    'Paarl',
    'Worcester',
    'George',
    'Knysna',
    'Mossel Bay',
    'Hermanus',
    'Franschhoek',
    'Swellendam',
    'Beaufort West',
    'Oudtshoorn',
    'Plettenberg Bay',
    'Saldanha',
    'Malmesbury',
    'Ceres',
    'Clanwilliam',
    'Robertson',
    'Montagu',
  ),
  'KZ' => array(
    'Durban',
    'Pietermaritzburg',
    'Richards Bay',
    'Newcastle',
    'Ladysmith',
    'Empangeni',
    'Ballito',
    'Umhlanga',
    'Pinetown',
    'Chatsworth',
    'Umlazi',
    'Port Shepstone',
    'Scottburgh',
    'Eshowe',
    'Vryheid',
    'Dundee',
    'Howick',
    'Margate',
    'Kokstad',
    'Hluhluwe',
  ),
  'EC' => array(
    'East London',
    'Port Elizabeth',
    'Gqeberha',
    'Mthatha',
    'Bhisho',
    'Grahamstown',
    'Queenstown',
    'King William\'s Town',
    'Cradock',
    'Graaff-Reinet',
    'Aliwal North',
    'Fort Beaufort',
    'Jeffreys Bay',
    'Port Alfred',
  ),
  'FS' => array(
    'Bloemfontein',
    'Welkom',
    'Kroonstad',
    'Bethlehem',
    'Sasolburg',
    'Virginia',
    'Parys',
    'Phuthaditjhaba',
    'Ficksburg',
    'Ladybrand',
  ),
  'LP' => array(
    'Polokwane',
    'Tzaneen',
    'Lephalale',
    'Louis Trichardt',
    'Musina',
    'Mokopane',
    'Thohoyandou',
    'Phalaborwa',
    'Giyani',
    'Modjadjiskloof',
    'Bela-Bela',
    'Modimolle',
    'Thabazimbi',
  ),
  'MP' => array(
    'Nelspruit',
    'Mbombela',
    'Witbank',
    'eMalahleni',
    'Middelburg',
    'Secunda',
    'Standerton',
    'Barberton',
    'White River',
    'Ermelo',
    'Piet Retief',
    'Lydenburg',
    'Hazyview',
    'Komatipoort',
    'Graskop',
    'Sabie',
  ),
  'NW' => array(
    'Rustenburg',
    'Mahikeng',
    'Potchefstroom',
    'Klerksdorp',
    'Brits',
    'Hartbeespoort',
    'Sun City',
    'Lichtenburg',
    'Vryburg',
    'Zeerust',
    'Orkney',
    'Stilfontein',
  ),
  'NC' => array(
    'Kimberley',
    'Upington',
    'Springbok',
    'De Aar',
    'Kuruman',
    'Kathu',
    'Calvinia',
    'Carnarvon',
    'Colesberg',
    'Sutherland',
  ),
);

// Use this filter to manage South Africa municipalities
$places['ZA'] = apply_filters('scpwoo_custom_places_za', $places['ZA']);
