Adding Notification Hash to JSON in Webhook
-
Really great plugin! I’d like to be able to include the notification hash in the JSON payload sent as a webhook (rationale below). Seems like a global merge tag might be the right approach, but just wondering how to get the notification hash to begin with?
When multiple notifications are triggered off the same WordPress action (e.g. updating a post using Elementor triggers 5 notifications), they all have the same notification hash. I am thinking about filtering or ignoring all notifications with matching hash values (except the first) at the server receiving the webhooks. BTW, have not had any success trying the sister plugin Notification: Prevent Duplicated which is prompting this alternate approach.
The topic ‘Adding Notification Hash to JSON in Webhook’ is closed to new replies.