Introduction
WordPress 5.9+ displays a language-selection dropdown on the login screen. The BuddyBoss Theme/Platform does not include a built-in toggle to hide this switcher, so you’ll need to add a small snippet of custom code to remove it.
Add the Filter to Disable the Language Dropdown
- In your WordPress admin, go to Appearance > Theme Editor.
- Under Select theme to edit, choose your active child theme (e.g., BuddyBoss Child) and click Select.
- In the Theme Files list, click Theme Functions (functions.php).
Append the following line just before the closing ?> tag:
add_filter( 'login_display_language_dropdown', '__return_false' );

- Click Update File to save your changes.
Troubleshooting and FAQs
Q: The language switcher still appears—what did I miss?
A:
- Ensure you edited the child theme’s functions.php, not the parent theme.
- Clear any object- or page-cache and reload the login page.
Q: I can’t access the Theme Editor—what can I do
A:
- Your host may disable file editing. Edit functions.php via FTP or your hosting control panel instead.
- Alternatively, add the snippet to a site-specific plugin or a code-snippet manager.
Q: Will this affect other parts of my site?
A: No. This filter only targets the login screen’s language dropdown. Front-end language switchers (if provided by a plugin) remain unaffected.
Q: Can I re-enable the dropdown later?
A: Yes. Remove or comment out the add_filter( ‘login_display_language_dropdown’, ‘__return_false’ ); line and save the file.