Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



signup_get_available_languages ›

Seit4.4.0
Veraltetn/v
apply_filters( 'signup_get_available_languages', get_available_languages()
Parameter:
  • (array) $available_languages Available languages.
    Erforderlich: Ja
Definiert in:
Codex:

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.





Quellcode

$languages = (array) apply_filters( 'signup_get_available_languages', get_available_languages() );