Need to update_user
-
Hi!
I’m using integromat to listen to my PayPal webhooks, and the WP Webhooks to update my wordpress site users table. The create_user function works great, and when I use create_user I assign a role of subscriber.Now, when I receive a cancellation from PayPal webhooks, I’d like to be able to UPDATE the user (e.g. update_user) and assign a new role, in my case I have it called _cancelled_subscriber as a custom role type.
I couldn’t find a way to update an existing user. Thanks for any help!
On a (somewhat) related note, do you know how I find the name of a custom field in my paypal webhook feed?
- The topic ‘Need to update_user’ is closed to new replies.