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

Pixmeister on "[Plugin: Polylang] include/exclude sync of AFC Repeater Fields"

$
0
0

And i tried this without Success:

add_filter('pll_copy_post_metas', 'copy_post_metas');
function copy_post_metas($metas) {
	if( have_rows('galerierep') ):
		while( have_rows('galerie') ): the_row();
			$first_row = the_sub_field('galimage');
			$second_row = the_sub_field('galtitle');
			$arrayHolder = array_merge($metas, $first_row, $second_row);
		endwhile;

		return $arrayHolder;

	endif;
}

Viewing all articles
Browse latest Browse all 11471

Trending Articles



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