W3cubDocs

/WordPress

apply_filters( 'get_available_languages', string[] $languages, string $dir )

Filters the list of available language codes.

Parameters

$languages

(string[]) An array of available language codes.

$dir

(string) The directory where the language files were found.

Source

File: wp-includes/l10n.php

View on Trac

Changelog

Version Description
4.7.0 Introduced.

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