WordPress at a glance
filter is not described

get_available_languages filter-hook . WP 4.7.0

Filters the list of available language codes.


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

	return $languages;
An array of available language codes.
The directory where the language files were found.

Where the hook is called

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

Where the hook is used (in WP core)

Использование не найдено.