salimhb
Forum Replies Created
-
That’s strange, I have only enabled the “Send Data On New Post” trigger.
I’d appreciate it if you check my settings from these screenshots: https://www.dropbox.com/transfer/AAAAAONCwpiHF2i8LDUENe_3dVneCPor167x-W9-AGjM3R-_OmEJd8MI also added this code snippet to my theme’s functions.php to support wpml https://gist.github.com/Ironikus/fa84d28c5059b172b150fa27d7ac0622#gistcomment-3203122
Thanks @ironikus for the quick detailed reply.
To understand correctly, I have a trigger on post_create and configured with the option “Trigger on initial post status change” set to “Published”.
The aim is to only call the trigger, when a post is published.
However, I don’t want it to be triggered again when an already published post is updated.If I understand you correctly, I should add the custom field “wpwhpro_create_post_temp_status” to such post and set it to true? This will prevent the webhook from being triggered again?