how to get the array list of multi-site with multi languages, for e.g i am on site 1
and want to know about other sites languages site 2
, site 3
.
Site Structure is:
EG (Egypt - with 2 languages)
------------------------
EN | AR
------------------------
PK (Pakistan - Single language)
EN
------------------------
LK (Srilanka - Single language)
EN
i can get the sites with get_sites()
but i need to 2 dimensional array containing country code as parent and child contains available languages.
plugin-wpml
does it need to add in question too ?