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

Chouby on "[Plugin: Polylang] Get_pages array shows default language"

$
0
0

As I mentioned above, get_pages is not filtered. It means that it always return all languages. As explained in the topic I linked above, I did this for performance reasons and because it is not needed. So please use the function get_posts instead of get_pages.


Viewing all articles
Browse latest Browse all 11471

Trending Articles



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