ClassicPress logo
Skip to content
Filter by type:
Browse: Home / Functions / signup_get_available_languages / signup_get_available_languages

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 GitHub


Related

Used By

Used By
Used By Description
wp-signup.php: signup_get_available_languages()

Retrieves languages available during the site/user signup process.


Changelog

Changelog
Version Description
WP-4.4.0 Introduced.
ClassicPress Documentation • Made with ClassicPress
Privacy Policy