WordPress.org

Forums

p2p-wpml
Should p2p-wpml synchronize if connections are added programmatically? (2 posts)

  1. Ville Mattila
    Member
    Posted 2 years ago #

    Hi,

    I tried to go through the code in your GitHub repository, but could not completely figure out the behavior...

    I am adding new Posts 2 Posts connections programmatically, as nicely documented by scribu. Unfortunately, a connection is built only between the posts specified explicitly in the API call - not between their translations. Is this intentional? If not, how to trigger synchronization process properly?

    If I create the connection via WP Admin UI, the connections get synchronized properly between all the translations.

    Thanks,
    Ville

    http://wordpress.org/extend/plugins/p2p-wpml/

  2. Gecka
    Member
    Posted 1 year ago #

    Can you try the latest version of the plugin? It should work now using p2p_create_connection

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • p2p-wpml
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic