Function cml_dropdown_langs
Print html dropdown list with all enabled languages
Located at functions.php
string |
$className |
- class to assign to
|
int/string |
$selected |
- id / slug of selected language |
boolean |
$link = false |
- if true change language and refresh page |
boolean |
$none = false |
- if true show "no language" item |
string |
$none_text = null |
- the text of "none" element |
int/string |
$none_id = "" |
- id of none element |
boolean |
$only_enabled = 1 |
- show only enabled languages? |
string |
$size = CML_FLAG_TINY |
- size of flags ( "tiny" or "small" ) |
mixed |
$style = "both" |
- item styles
|