You can batch sync your posts with the following script. If you have a lot of posts to sync, this script should be run outside of WordPress.
You can batch sync your posts with the following script. If you have a lot of posts to sync, this script should be run outside of WordPress.
2 replies on “Copy and synchronize WordPress posts programmatically with Polylang”
I need to do something similar to this, but instead of doing it in bulk, I’d like to do it to a single post whenever one is created or updated. Is this something you could help with?
For anyone else looking to solve this problem, I found the solution here:
https://stackoverflow.com/questions/59289671/polylang-automatic-sync-for-posts