WordPress filter hook
login_display_language_dropdown
Fired by 12 WordPress plugins, running on 583K+ sites between them.
“Filters whether to display the Language selector on the login screen.”
How to use login_display_language_dropdown
It's a filter: your callback receives the value, and must return the (changed) value.
Add this to your theme's functions.php or a small custom plugin:
add_filter( 'login_display_language_dropdown', function( $value ) {
// Change $value here.
return $value;
}, 10, 1 );Argument names come from LoginPress's source. Other plugins may pass different values: check the call in the plugin you're targeting below.
12 plugins that fire login_display_language_dropdown
Sorted by active installs. Each entry shows where the plugin calls the hook and what it passes.
-
LoginPress200,000+ installs
apply_filters( 'login_display_language_dropdown', true )include/template-loginpress.php:322 -
Two Factor100,000+ installs
apply_filters( 'login_display_language_dropdown', true )includes/function.login-footer.php:61 -
Hide My WP Ghost100,000+ installs
apply_filters( 'login_display_language_dropdown', true )view/wplogin/footer.php:77 -
Custom Login Page Customizer80,000+ installs
apply_filters( 'login_display_language_dropdown', false )src/Customizer/template-login-customizer.php:142 -
WP Hide & Security Enhancer50,000+ installs
apply_filters( 'login_display_language_dropdown', true )modules/components/login_2fa_template_login_footer.php:63 -
Ultimate Dashboard50,000+ installs
apply_filters( 'login_display_language_dropdown', true )modules/login-customizer/templates/udb-login-page.php:269 -
Login Page Styler2,000+ installs
apply_filters( 'login_display_language_dropdown', true )lpsnewLogin.php:207 -
Login Page Customizer1,000+ installs
apply_filters( 'login_display_language_dropdown', true )login-page-customizer/customize/template-lpc-custom-login-page.php:286 -
Fuerte-WP70+ installs
apply_filters( 'login_display_language_dropdown', true )includes/two-factor/includes/function.login-footer.php:62 -
Loginify20+ installs
apply_filters( 'login_display_language_dropdown', false )templates/loginify-page.php:104 -
DP Websolutions10+ installs
apply_filters( 'login_display_language_dropdown', true )includes/safe-preview.php:298 -
Dashboard PlusFewer than 10 installs
apply_filters( 'login_display_language_dropdown', true )modules/customizer/templates/dashplu-login-page.php:303
Need a customisation built on this hook?
Tell us what you want to change and which plugin it's for. We'll write it, test it and send it back as a small plugin.