WordPress at Your Fingertips
filter is not described

signup_get_available_languages filter-hook . WP 4.4.0

Filters the list of available languages for front-end site signups.

Passing an empty array to this hook will disable output of the setting on the signup form, and the default language will be used when creating the site.

Languages not already installed will be stripped.


add_filter( 'signup_get_available_languages', 'filter_function_name_7410' );
function filter_function_name_7410( $languages ){
	// filter...

	return $languages;
Array of available language codes. Language codes are formed by stripping the .mo extension from the language file names.

Where the hook is called

wp-signup.php 883
$languages = (array) apply_filters( 'signup_get_available_languages', get_available_languages() );

Where in WP core the hook is used WordPress

Usage not found.