mindtwo/post-duplicator-polylang

Removes Polylang 'post_translation' relationships from original post after duplication.

1.2 2022-05-25 07:35 UTC

This package is auto-updated.

Last update: 2024-11-25 13:21:09 UTC


README

Latest Version on Packagist Software License Total Downloads

There is a problem when using the post duplicator plugin in combination with the polylang multilingual package.

On duplications the related posts are getting copied aswell.

Example: You copy post #1 which is translated in another language post #2. The duplicated post #3 is now linked to the same post #2 translation entry.

This addon clears this link after duplication. This leads to post #3 having no translations which is the prefferd behaviour.

Install

Via Composer

composer require mindtwo/post-duplicator-polylang

Via WordPress Plugin Manager Search Post Duplicator Polylang in the official WordPress Plugin and install it.

Usage

You have to only install and activate this plugin.

Change log

Please see CHANGELOG for more information on what has changed recently.

Contributing

Please see CONTRIBUTING and CODE_OF_CONDUCT for details.

Security

If you discover any security related issues, please email :author_email instead of using the issue tracker.

Credits

License

The MIT License (MIT). Please see License File for more information.