Hey @vforte – thanks for reaching out. Since making this works requires a special way of triggering the functionality, you would have to write some custom lines of code.
You would need to check the Ultimate Member plugin and take a WordPress hook that is fired within the function that Ultimate Member uses to update the post meta.
Within the callback of this hook, you can simply call the update user function as followed:
wp_update_user( array( 'ID' => 123456 ) );
This will cause the webhook to also trigger when the user is updated.
In case you plan on using this feature in combination with your other request you made earlier (https://wordpress.org/support/topic/avoid-to-trigger-send-data-on-user-update-webhook-on-new-woocommerce-order/), you would need to extend that functionality as well to trigger it on the given form page.
Thread Starter
vforte
(@vforte)
Thanks @ironikus, it works perfectly!
Hey @vforte – Thank you for your feedback, I’m glad it works for you. If you have further questions, feel free to reach out again. 🙂