跳到内容 跳到侧边栏

標籤: 

本主题包含 0 則回覆 ,有 1 声音 。

最后由 sebastianB-9 1 year, 4 months前 更新。

协助者:: Dražen.

作者 帖子
2 10 月, 2024 于 7:57 上午 #16243732

sebastianB-9

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?