/polylang-fix-relationships

Manage post relationships like attachments or (ACF Relational fields) which are not covered by the WordPress polylang plugin.

Primary LanguagePHP

Polylang Fix Relationships

Manage post relationships like attachments, post parents and ACF Relational fields which are not covered by Polylang plugin.

Compatibility

Tested With WP 4.4.2 - 4.5.2, Polylang 1.8.4 - 1.9, ACF pro 5.x

Features:

  • Adds a clone post feature
  • Clones post attachments to corresponding languages
  • Changes post thumbnail and ACF Relations (like post object, image, ...) to their corresponding translations

Plugin API

There are two filters allowing a developer to disable one of the two two features:

// disables the Fix Relationships row action
add_filter( 'polylang_relationships_enable_fix', '__return_false' );

// disables the Create4 Translations row action
add_filter( 'polylang_relationships_enable_clone', '__return_false' );