[WordPress] 外掛分享: Disable Login Language Switcher

首頁外掛目錄 › Disable Login Language Switcher
WordPress 外掛 Disable Login Language Switcher 的封面圖片
2,000+
安裝啟用
★★★★★
5/5 分(5 則評價)
1397 天前
最後更新
問題解決
WordPress 5.8+ PHP 5.6+ v1.0.0 上架:2022-01-10

內容簡介

此外掛可幫助您清理 WordPress 登入介面,並移除在 WordPress 5.9 版本中加入的語言切換器,使介面更加簡潔。

如果您只安裝了一種語言,而不打算更改回英文,移除下拉式選單會變得更加實用。此時您可以安裝並啟用此外掛,它不需要進行進一步的設定。

此外掛的功能

此外掛使用預設的 WordPress Hooks API,並透過以下一行程式碼停用語言選擇器:

add_filter( 'login_display_language_dropdown', '__return_false' );

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Disable Login Language Switcher」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

This plugin helps you to declutter your WordPress login screen by removing the language switcher which has been introduced in WordPress 5.9.
Removing the dropdown makes sense when you only have one additional language installed and don’t intend to change back to English for example. In this case you can simply install and activate the plugin. There are no futher settings.
What does this plugin do?
The plugin uses the default WordPress Hooks API and disables the language selector with the following one-liner:
add_filter( 'login_display_language_dropdown', '__return_false' );

延伸相關外掛

文章
Filter
Apply Filters
Mastodon