• Resolved scsedel

    (@scsedel)


    Hi,

    I’m using notifications to notify editors when a custom post type is in pending status.
    The post is saved by an acf_form (advanced custom fields frontend form) and, in the acf/save_post hook I change the status of the post based on a custom acf field.
    After that, I duplicate (programmatically) the post in order to sync the post to its translation.

    The issue: I receive two notifications each time. Is there a better way to achive my aim? Is there any issue related to translated duplicated post?

    Any advice will be helpful, thank you!

Viewing 1 replies (of 1 total)
  • Plugin Support annaszalkiewicz

    (@annaszalkiewicz)

    Hello,

    Well, unfortunately, we don’t know a simple solution, if you duplicate the post, both are caught. You could though create a custom trigger to send a notification for one post only.

Viewing 1 replies (of 1 total)
  • The topic ‘WPML duplicate sync’ed post notificates twice’ is closed to new replies.