apply_filters( 'get_available_languages', array $languages, string $dir )

Filters the list of available language codes.


Parameters

$languages

An array of available language codes.

$dir

The directory where the language files were found.


Source

File: wp-includes/l10n.php

View on GitHub



Changelog

Changelog
Version Description
WP-4.7.0 Introduced.