forked from chitezh/woocommerce_states_places
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request chitezh#86 from YordanSoares/master
Added Denmark + 1 Update to `state/CO.php`
- Loading branch information
Showing
3 changed files
with
160 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,133 @@ | ||
<?php | ||
|
||
/** | ||
* Municipalities of Denmark | ||
* - 98 municipalities (kommuner) | ||
* | ||
* Source: | ||
* - https://da.wikipedia.org/wiki/Strukturreformen | ||
* - https://da.wikipedia.org/wiki/Kommuner_i_Danmark | ||
* - https://en.wikipedia.org/wiki/Municipalities_of_Denmark | ||
* | ||
* @author Yordan Soares <[email protected]> | https://yordansoar.es/ | ||
* @version 1.0.0 | ||
* @license http://www.gnu.org/licenses/gpl-2.0.html | ||
*/ | ||
|
||
global $places; | ||
|
||
$places['DK'] = array( | ||
// Region Hovedstaden | ||
'DK-84' => array( | ||
'Albertslund', | ||
'Allerød', | ||
'Ballerup', | ||
'Bornholm', | ||
'Brøndby', | ||
'Dragør', | ||
'Egedal', | ||
'Fredensborg', | ||
'Frederiksberg', | ||
'Frederikssund', | ||
'Furesø', | ||
'Gentofte', | ||
'Gladsaxe', | ||
'Glostrup', | ||
'Gribskov', | ||
'Halsnæs', | ||
'Helsingør', | ||
'Herlev', | ||
'Hillerød', | ||
'Hvidovre', | ||
'Høje-Taastrup', | ||
'Hørsholm', | ||
'Ishøj', | ||
'København', | ||
'Lyngby-Taarbæk', | ||
'Rudersdal', | ||
'Rødovre', | ||
'Tårnby', | ||
'Vallensbæk', | ||
), | ||
// Region Midtjylland | ||
'DK-82' => array( | ||
'Favrskov', | ||
'Hedensted', | ||
'Herning', | ||
'Holstebro', | ||
'Horsens', | ||
'Ikast-Brande', | ||
'Lemvig', | ||
'Norddjurs', | ||
'Odder', | ||
'Randers', | ||
'Ringkøbing-Skjern', | ||
'Samsø', | ||
'Silkeborg', | ||
'Skanderborg', | ||
'Skive', | ||
'Struer', | ||
'Syddjurs', | ||
'Viborg', | ||
'Aarhus', | ||
), | ||
// Region Nordjylland | ||
'DK-81' => array( | ||
'Brønderslev', | ||
'Frederikshavn', | ||
'Hjørring', | ||
'Jammerbugt', | ||
'Læsø', | ||
'Mariagerfjord', | ||
'Morsø', | ||
'Rebild', | ||
'Thisted', | ||
'Vesthimmerland', | ||
'Aalborg', | ||
), | ||
// Region Sjælland | ||
'DK-85' => array( | ||
'Faxe', | ||
'Greve', | ||
'Guldborgsund', | ||
'Holbæk', | ||
'Kalundborg', | ||
'Køge', | ||
'Lejre', | ||
'Lolland', | ||
'Næstved', | ||
'Odsherred', | ||
'Ringsted', | ||
'Roskilde', | ||
'Slagelse', | ||
'Solrød', | ||
'Sorø', | ||
'Stevns', | ||
'Vordingborg', | ||
), | ||
// Region Syddanmark | ||
'DK-83' => array( | ||
'Assens', | ||
'Billund', | ||
'Esbjerg', | ||
'Fanø', | ||
'Fredericia', | ||
'Faaborg-Midtfyn', | ||
'Haderslev', | ||
'Kerteminde', | ||
'Kolding', | ||
'Langeland', | ||
'Middelfart', | ||
'Nordfyn', | ||
'Nyborg', | ||
'Odense', | ||
'Svendborg', | ||
'Sønderborg', | ||
'Tønder', | ||
'Varde', | ||
'Vejen', | ||
'Vejle', | ||
'Ærø', | ||
'Aabenraa', | ||
), | ||
); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,9 +10,7 @@ | |
* | ||
* @author José Ayram <[email protected]> | ||
* @author José Ayram | ||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License | ||
https://www.iso.org/obp/ui/#iso:code:3166:CO | ||
* @license http://opensource.org/licenses/gpl-license.php GNU Public License | ||
*/ | ||
|
||
global $states; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<?php | ||
|
||
/** | ||
* Regions of Denmark | ||
* - 5 regions (regioner) | ||
* | ||
* Source: | ||
* - https://da.wikipedia.org/wiki/Strukturreformen | ||
* - https://da.wikipedia.org/wiki/Danmarks_regioner | ||
* - https://en.wikipedia.org/wiki/Regions_of_Denmark | ||
* - https://www.iso.org/obp/ui/#iso:code:3166:DK | ||
* | ||
* @author Yordan Soares <[email protected]> | https://yordansoar.es/ | ||
* @version 1.0.0 | ||
* @license http://www.gnu.org/licenses/gpl-2.0.html | ||
*/ | ||
|
||
global $states; | ||
|
||
$states['DK'] = array( | ||
'DK-84' => 'Hovedstaden', | ||
'DK-82' => 'Midtjylland', | ||
'DK-81' => 'Nordjylland', | ||
'DK-85' => 'Sjælland', | ||
'DK-83' => 'Syddanmark', | ||
); |