WP Webhooks 3.3.2
Members 3.2.9
I have a better grip on the issue, though I have worked out a way around it. A user updates his profile (or I do it on backend). I have a trigger in Pabbly to fire when wordpress user updates profile (they are doing so in User Registration plugin update profile page). When the initial update triggers in Pabbly, I sometimes have it update the user to different roles. This triggers the update profile again.
Example:
Current user: role 1, role 2
Manual update to: role 1, role 2, role 3
First update fires and info sent to pabbly:
- Old data (role 1, role 2, role 3)
- New data (role 1, role3)
- I have this function happening in Pabbly, but doesn’t make sense. Why would the old data for the first trigger be what I change it to?
Update fires a second time info sent to pabbly:
- old data (role 1, role 3)
- new data (role 1, role 3)
- Why would this trigger again? With the same two roles?
I even tested it with role changes that don’t trigger one of my pabbly triggers
- Current use: role 1, role 3
- Manual update: role 1, role 3, role 4
- Sent to pabbly:
- Old data (role 1, role 3, role 4)
- New data (role 1, role 3, role 4)
- The old and new data are the same