Title: UK County Adding
Last modified: April 29, 2021

---

# UK County Adding

 *  Resolved [agdirect](https://wordpress.org/support/users/agdirect/)
 * (@agdirect)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/uk-county-adding-2/)
 * Please can you make these changes to UK Counties as updates keep removing correct
   counties
 *     ```
       <?php return array(
           'title' => ($_ = __('United Kingdom (UK)', 'woocommerce')) === 'United Kingdom (UK)' ? 'United Kingdom' : $_,
           'country' => 'GB',
           'items' => array(
               'AV' => 'Avon',
               'BE' => 'Bedfordshire',
               'BK' => 'Berkshire',
               'BU' => 'Buckinghamshire',
               'CA' => 'Cambridgeshire',
               'CH' => 'Cheshire',
               'CL' => 'Cleveland',
               'CO' => 'Cornwall',
               'CD' => 'County Durham',
               'CU' => 'Cumbria',
               'DE' => 'Derbyshire',
               'DV' => 'Devon',
               'DO' => 'Dorset',
               'ES' => 'East Sussex',
               'EX' => 'Essex',
               'GL' => 'Gloucestershire',
               'HA' => 'Hampshire',
               'HE' => 'Herefordshire',
               'HT' => 'Hertfordshire',
               'IW' => 'Isle of Wight',
               'KE' => 'Kent',
               'LA' => 'Lancashire',
               'LE' => 'Leicestershire',
               'LI' => 'Lincolnshire',
               'LO' => 'London',
               'ME' => 'Merseyside',
               'MI' => 'Middlesex',
               'NO' => 'Norfolk',
               'NH' => 'North Humberside',
               'NY' => 'North Yorkshire',
               'NS' => 'Northamptonshire',
               'NL' => 'Northumberland',
               'NT' => 'Nottinghamshire',
               'OX' => 'Oxfordshire',
               'SH' => 'Shropshire',
               'SO' => 'Somerset',
               'SM' => 'South Humberside',
               'SY' => 'South Yorkshire',
               'SF' => 'Staffordshire',
               'SU' => 'Suffolk',
               'SR' => 'Surrey',
               'TW' => 'Tyne and Wear',
               'WA' => 'Warwickshire',
               'WM' => 'West Midlands',
               'WS' => 'West Sussex',
               'WY' => 'West Yorkshire',
               'WI' => 'Wiltshire',
               'WO' => 'Worcestershire',
               'ABD' => 'Scotland / Aberdeenshire',
               'ANS' => 'Scotland / Angus',
               'ARL' => 'Scotland / Argyll & Bute',
               'AYR' => 'Scotland / Ayrshire',
               'CLK' => 'Scotland / Clackmannanshire',
               'DGY' => 'Scotland / Dumfries & Galloway',
               'DNB' => 'Scotland / Dunbartonshire',
               'DDE' => 'Scotland / Dundee',
               'ELN' => 'Scotland / East Lothian',
               'EDB' => 'Scotland / Edinburgh',
               'FIF' => 'Scotland / Fife',
               'GGW' => 'Scotland / Glasgow',
               'HLD' => 'Scotland / Highland',
               'LKS' => 'Scotland / Lanarkshire',
               'MLN' => 'Scotland / Midlothian',
               'MOR' => 'Scotland / Moray',
               'OKI' => 'Scotland / Orkney',
               'PER' => 'Scotland / Perth and Kinross',
               'RFW' => 'Scotland / Renfrewshire',
               'SB' => 'Scotland / Scottish Borders',
               'SHI' => 'Scotland / Shetland Isles',
               'STI' => 'Scotland / Stirling',
               'WLN' => 'Scotland / West Lothian',
               'WIS' => 'Scotland / Western Isles',
               'AGY' => 'Wales / Anglesey',
               'GNT' => 'Wales / Blaenau Gwent',
               'CP' => 'Wales / Caerphilly',
               'CF' => 'Wales / Cardiff',
               'CAE' => 'Wales / Carmarthenshire',
               'CR' => 'Wales / Ceredigion',
               'CW' => 'Wales / Conwy',
               'DEN' => 'Wales / Denbighshire',
               'FLN' => 'Wales / Flintshire',
               'GLA' => 'Wales / Glamorgan',
               'GWN' => 'Wales / Gwynedd',
               'MT' => 'Wales / Merthyr Tydfil',
               'MON' => 'Wales / Monmouthshire',
               'PT' => 'Wales / Neath Port Talbot',
               'NP' => 'Wales / Newport',
               'PEM' => 'Wales / Pembrokeshire',
               'POW' => 'Wales / Powys',
               'RT' => 'Wales / Rhondda Cynon Taff',
               'SS' => 'Wales / Swansea',
               'TF' => 'Wales / Torfaen',
               'WX' => 'Wales / Wrexham',
               'ANT' => 'Northern Ireland / County Antrim',
               'ARM' => 'Northern Ireland / County Armagh',
               'DOW' => 'Northern Ireland / County Down',
               'FER' => 'Northern Ireland / County Fermanagh',
               'LDY' => 'Northern Ireland / County Londonderry',
               'TYR' => 'Northern Ireland / County Tyrone',
           ),
       );
       ```
   

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [agdirect](https://wordpress.org/support/users/agdirect/)
 * (@agdirect)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/uk-county-adding-2/#post-14388536)
 * Sorry plugin must of updated and defaulted back. Here is the correct one.
 * <?php return array(
    ‘title’ => ($_ = __(‘United Kingdom (UK)’, ‘woocommerce’))
   === ‘United Kingdom (UK)’ ? ‘United Kingdom’ : $_, ‘country’ => ‘GB’, ‘items’
   => array( ‘BE’ => ‘Bedfordshire’, ‘BK’ => ‘Berkshire’, ‘BR’ => ‘Bristol’, ‘BU’
   => ‘Buckinghamshire’, ‘CA’ => ‘Cambridgeshire’, ‘CH’ => ‘Cheshire’, ‘CO’ => ‘
   Cornwall’, ‘CU’ => ‘Cumbria’, ‘DE’ => ‘Derbyshire’, ‘DV’ => ‘Devon’, ‘DO’ => ‘
   Dorset’, ‘DU’ => ‘Durham’, ‘ES’ => ‘East Sussex’, ‘ER’ => ‘East Riding’, ‘EX’
   => ‘Essex’, ‘GL’ => ‘Gloucestershire’, ‘GR’ => ‘Greater London’, ‘GM’ => ‘Greater
   Manchester’, ‘HA’ => ‘Hampshire’, ‘HE’ => ‘Herefordshire’, ‘HT’ => ‘Hertfordshire’,‘
   IW’ => ‘Isle of Wight’, ‘KE’ => ‘Kent’, ‘LA’ => ‘Lancashire’, ‘LE’ => ‘Leicestershire’,‘
   LI’ => ‘Lincolnshire’, ‘LO’ => ‘City of London’, ‘ME’ => ‘Merseyside’, ‘NO’ =
   > ‘Norfolk’, ‘NY’ => ‘North Yorkshire’, ‘NS’ => ‘Northamptonshire’, ‘NL’ => ‘
   Northumberland’, ‘NT’ => ‘Nottinghamshire’, ‘OX’ => ‘Oxfordshire’, ‘RU’ => ‘Rutland’,‘
   SH’ => ‘Shropshire’, ‘SO’ => ‘Somerset’, ‘SM’ => ‘South Humberside’, ‘SY’ => ‘
   South Yorkshire’, ‘SF’ => ‘Staffordshire’, ‘SU’ => ‘Suffolk’, ‘SR’ => ‘Surrey’,‘
   TW’ => ‘Tyne and Wear’, ‘WA’ => ‘Warwickshire’, ‘WM’ => ‘West Midlands’, ‘WS’
   => ‘West Sussex’, ‘WY’ => ‘West Yorkshire’, ‘WI’ => ‘Wiltshire’, ‘WO’ => ‘Worcestershire’,‘
   ABD’ => ‘Scotland / Aberdeenshire’, ‘ANS’ => ‘Scotland / Angus’, ‘ARL’ => ‘Scotland/
   Argyll & Bute’, ‘AYR’ => ‘Scotland / Ayrshire’, ‘CLK’ => ‘Scotland / Clackmannanshire’,‘
   DGY’ => ‘Scotland / Dumfries & Galloway’, ‘DNB’ => ‘Scotland / Dunbartonshire’,‘
   DDE’ => ‘Scotland / Dundee’, ‘ELN’ => ‘Scotland / East Lothian’, ‘EDB’ => ‘Scotland/
   Edinburgh’, ‘FIF’ => ‘Scotland / Fife’, ‘GGW’ => ‘Scotland / Glasgow’, ‘HLD’ 
   => ‘Scotland / Highland’, ‘LKS’ => ‘Scotland / Lanarkshire’, ‘MLN’ => ‘Scotland/
   Midlothian’, ‘MOR’ => ‘Scotland / Moray’, ‘OKI’ => ‘Scotland / Orkney’, ‘PER’
   => ‘Scotland / Perth and Kinross’, ‘RFW’ => ‘Scotland / Renfrewshire’, ‘SB’ =
   > ‘Scotland / Scottish Borders’, ‘SHI’ => ‘Scotland / Shetland Isles’, ‘STI’ 
   => ‘Scotland / Stirling’, ‘WLN’ => ‘Scotland / West Lothian’, ‘WIS’ => ‘Scotland/
   Western Isles’, ‘AGY’ => ‘Wales / Anglesey’, ‘GNT’ => ‘Wales / Blaenau Gwent’,‘
   CP’ => ‘Wales / Caerphilly’, ‘CF’ => ‘Wales / Cardiff’, ‘CAE’ => ‘Wales / Carmarthenshire’,‘
   CR’ => ‘Wales / Ceredigion’, ‘CW’ => ‘Wales / Conwy’, ‘DEN’ => ‘Wales / Denbighshire’,‘
   FLN’ => ‘Wales / Flintshire’, ‘GLA’ => ‘Wales / Glamorgan’, ‘GWN’ => ‘Wales /
   Gwynedd’, ‘MT’ => ‘Wales / Merthyr Tydfil’, ‘MON’ => ‘Wales / Monmouthshire’,‘
   PT’ => ‘Wales / Neath Port Talbot’, ‘NP’ => ‘Wales / Newport’, ‘PEM’ => ‘Wales/
   Pembrokeshire’, ‘POW’ => ‘Wales / Powys’, ‘RT’ => ‘Wales / Rhondda Cynon Taff’,‘
   SS’ => ‘Wales / Swansea’, ‘TF’ => ‘Wales / Torfaen’, ‘WX’ => ‘Wales / Wrexham’,‘
   ANT’ => ‘Northern Ireland / County Antrim’, ‘ARM’ => ‘Northern Ireland / County
   Armagh’, ‘BEL’ => ‘Northern Ireland / City of Belfast’, ‘DOW’ => ‘Northern Ireland/
   County Down’, ‘FER’ => ‘Northern Ireland / County Fermanagh’, ‘LDY’ => ‘Northern
   Ireland / County Londonderry’, ‘DER’ => ‘Northern Ireland / City of Derry’, ‘
   TYR’ => ‘Northern Ireland / County Tyrone’, ), );
 *  Plugin Author [Dan](https://wordpress.org/support/users/dangoodman/)
 * (@dangoodman)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/uk-county-adding-2/#post-14393377)
 * Thank you for sharing the list. It’s now added to the plugin along with the previous
   one. You would have to select the new list in the settings after updating.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘UK County Adding’ is closed to new replies.

 * ![](https://ps.w.org/woo-locations/assets/icon-256x256.jpg?rev=3325727)
 * [Location Pack for WooCommerce](https://wordpress.org/plugins/woo-locations/)
 * [Support Threads](https://wordpress.org/support/plugin/woo-locations/)
 * [Active Topics](https://wordpress.org/support/plugin/woo-locations/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woo-locations/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woo-locations/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Dan](https://wordpress.org/support/users/dangoodman/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/uk-county-adding-2/#post-14393377)
 * Status: resolved