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

hugolaporte on "[Plugin: Polylang] Create posts translations on existing site with large number of records (700)"

$
0
0

Nevermind. I found your pll_get_term() function. So I made this:

$en_cat_array = array();

	foreach ($post_categories as $cat){
		$en_cat_array[] = pll_get_term($cat, 'en');
	}

Thanks a lot for your help and great plugin Chouby


Viewing all articles
Browse latest Browse all 11471

Trending Articles



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