W3cubDocs

/WordPress

apply_filters( 'signup_get_available_languages', array $available_languages )

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

Description

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.

Parameters

$available_languages

(array) Available languages.

Source

File: wp-signup.php

View on Trac

Changelog

Version Description
4.4.0 Introduced.

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