If Polylang's synchronization for custom fields is enabled, saving translations will duplicate all metadata added for a post. Prevent this by adding a metadata handler for the Polylang integration that filters out all meta keys set for the imported post object. The pll_copy_post_metas filter can be used to implement this.
If Polylang's synchronization for custom fields is enabled, saving translations will duplicate all metadata added for a post. Prevent this by adding a metadata handler for the Polylang integration that filters out all meta keys set for the imported post object. The
pll_copy_post_metas
filter can be used to implement this.