Polylang get non-current language/s
You need to use the function pll_the_languages() to get the language switcher. It has a bunch of arguments which you can use to customise the language switcher: $args is an optional array parameter. Options are: ‘dropdown’ => displays a list if set to 0, a dropdown list if set to 1 (default: 0) ‘show_names’ => … Read more