Find out in this tutorial how to remove the language selector on WordPress login page using code.
WordPress 5.9 introduced quite a few new features, among them, it added a new language selector (which will display the languages installed on that WordPress) on the login page.
But you may prefer not to display this new element, so in this tutorial you are going to learn how to remove it.
Snippet to hide the WordPress login page language selector
Add the following code at the end of functions.php or in your functionality plugin:
To see this and another 1097 code snippets of this website, login or subscribe here.
In this code you use the login_display_language_dropdown
filter to indicate that it should not to be displayed.
Do you prefer to hide only some languages but not all? Then take a look at this other tutorial.
Conclusions
Now you know how to hide the login page language selector that was added in WordPress 5.9.
If you have any question, please leave it in the comments. And if you want to give me a suggestion for future snippets, please send it through the contact form.
Benefits of being a subscriber. 🙂