Skip to content

Instantly share code, notes, and snippets.

Avatar

Nabha nabhacosley

View GitHub Profile
@nabhacosley
nabhacosley / getContinent.php
Created Feb 14, 2019
Given a country name, get the continent
View getContinent.php
<?php
/**
* Get a list of country codes tied to continents
*
* @link //gist.github.com/nobuti/3816985
*
* @since 2019-Jan-25
* @return array
*/
function ananda_wpsl_get_continent_country_list() {