WPDev.one
Core Function
View Source on Trac ↗

wp_dropdown_languages()

wp_dropdown_languages( mixed $args = array() )

Displays or returns a Language selector.

Parameters 1 required

Name / Type Description
mixed

(string | array) $args { Optional. Array or string of arguments for outputting the language selector.

Required

Return Value

(string)
HTML dropdown list of languages.

Function Information

Since Version
4.0.0
Source File
wp-includes/l10n.php
Advertisement