Changeset 11378
- Timestamp:
- 12/16/2021 03:00:59 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-login/functions.php
r11081 r11378 52 52 } 53 53 add_action( 'init', 'wporg_login_init' ); 54 55 /** 56 * Disable the Core Language Selector on wp-login.php. 57 */ 58 function wporg_login_disable_lang_switcher() { 59 add_filter( 'get_available_languages', '__return_empty_array' ); 60 } 61 add_action( 'login_init', 'wporg_login_disable_lang_switcher' ); 54 62 55 63 /**
Note: See TracChangeset
for help on using the changeset viewer.