WordPress at a glance
filter is not described

get_available_languages filter-hook . WP 4.7.0

Filters the list of available language codes.

Usage

add_filter( 'get_available_languages', 'filter_function_name_8218', 10, 2 );
function filter_function_name_8218( $languages, $dir ){
	// filter...

	return $languages;
}
$languages(array)
An array of available language codes.
$dir(string)
The directory where the language files were found.

Where the hook is called

get_available_languages()
wp-includes/l10n.php 1163
return apply_filters( 'get_available_languages', $languages, $dir );

Where the hook is used (in WP core)

Does not used.