W3cubDocs

/WordPress

apply_filters( ‘mu_dropdown_languages’, string[] $output, string[] $lang_files, string $current )

Filters the languages available in the dropdown.

Parameters

$outputstring[]
Array of HTML output for the dropdown.
$lang_filesstring[]
Array of available language files.
$currentstring
The current language code.

Source

$output = apply_filters( 'mu_dropdown_languages', $output, $lang_files, $current );

Changelog

Version Description
MU (3.0.0) Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/mu_dropdown_languages