Remove WordPress Landing Page Language Selection

WordPress comment ninety-five Reading mode

After WordPress 5.9, a new language selection has been added to the default login page in the background. It was originally thought to be used to select the site language when multiple users log in. After trying, it was found that only changing the display language of the login page is equivalent to translating the web page. I don't know whether this function has other uses.

You can use the filter provided by WordPress to remove this function.

Add code to the current topic function template functions.php:

 add_filter( 'login_display_language_dropdown', '__return_false' );

 

Most of the articles on this site are original and used for personal learning records, which may be helpful to you, for reference only!

 weinxin
My Wechat
Copyright Notice
Please indicate the source and link of the original article reprinted on this site. Thank you for your cooperation!
five hundred and ninety-eight million eight hundred and forty-five thousand and six
 
 Robin
five hundred and ninety-eight million eight hundred and forty-five thousand and six
 anonymous

Comment

Anonymous netizens
 :?:  :razz:  :sad:  :evil:  :!:  :smile:  :oops:  :grin:  :eek:  :shock:  :???:  :cool:  :lol:  :mad:  :twisted:  :roll:  :wink:  :idea:  :arrow:  :neutral:  :cry:  :mrgreen:

Drag the slider to complete validation