Disable Login Language Selector
WordPress 5.9 added a new language selector to allow users to switch languages from a dropdown on the login screen if more than one language is enabled on your WordPress installation. This plugin provides a quick and easy way to prevent this language selector from appearing. It is a very simple plug
WordPress 5.9 added a new language selector to allow users to switch languages from a dropdown on the login screen if more than one language is enabled on your WordPress installation. This plugin provides a quick and easy way to prevent this language selector from appearing.
It is a very simple plugin which is provided for ease of use: you need only to install and activate the plugin and it will prevent the language dropdown from appearing on the login screen of your site.
Alternatively, you can also achieve the same effect by adding the following line of code to the functions.php file in your theme:
add_filter( 'login_display_language_dropdown', '__return_false' );
A closer look.
- 01Upload the plugin package to the plugins directory of your site, or search for “Disable Login Language Selector” in the WordPress plugins directory from the Plugins section of your WordPress dashboard.
- 02Once uploaded or installed you must activate the plugin from the Plugins section of your WordPress dashboard.
- 03The language selector should no longer appear on the login screen of your site.
Frequently asked questions.
What does this plugin do?
WordPress 5.9 added a new language selector to allow users to switch languages from a dropdown on the login screen if more than one language is enabled on your WordPress installation. This plugin provides a quick and easy way to prevent this language selector from appearing.
It is a very simple plugin which is provided for ease of use: you need only to install and activate the plugin and it will prevent the language dropdown from appearing on the login screen of your site.
Alternatively, you can also achieve the same effect by adding the following line of code to the functions.php file in your theme: