Background of the issue:
I want to change the settings usually done using the checkboxes in WPML>>Languages>>Hide Languages programmatically. For example, I want to build a function in my child theme that hides/disables the German language on my site when it is called.
Symptoms:
None
Questions:
How can I hide or disable the German language programmatically in WPML?