Quantcast
Channel: polylang – WordPress.org Forums
Viewing all articles
Browse latest Browse all 11471

Chouby on "[Plugin: Polylang] CLS - pll_the_languages - need seperate links for languages"

$
0
0

pll_the_languages always returns all languages. You don't have to call the function several times.

If I well understood what you want, you should call pll_the_languages with the 'raw' argument and then loop through the obtained array with a 'foreach' instruction.


Viewing all articles
Browse latest Browse all 11471

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>