Skip to content

Prevent duplicating metadata with Polylang synchronization #1

@villesiltala

Description

@villesiltala

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions