login_language_dropdown_args filter-hookWP 5.9.0

Filters default arguments for the Languages select input on the login screen.

Usage

add_filter( 'login_language_dropdown_args', 'wp_kama_login_language_dropdown_args_filter' );

/**
 * Function for `login_language_dropdown_args` filter-hook.
 * 
 * @param array $args Arguments for the Languages select input on the login screen.
 *
 * @return array
 */
function wp_kama_login_language_dropdown_args_filter( $args ){

	// filter...
	return $args;
}
$args(array)
Arguments for the Languages select input on the login screen.

Changelog

Since 5.9.0 Introduced.

Where the hook is called

login_footer()
login_language_dropdown_args
wp-login.php 355
wp_dropdown_languages( apply_filters( 'login_language_dropdown_args', $args ) );

Where the hook is used in WordPress

Usage not found.