Function vanilla_wpml_language_switcher
Create an HTML unordered list of available languages for the current post. It works for any post type the current post belongs to.
Parameters summary
array |
$args |
<p>An associative array with the 'id' and 'class' of the generated HTML list element and an associative array named 'languages' with associations of language codes with custom names for the respective language.</p> |
Return value summary
string
|
The HTML UL element string of the available languages. |