unsubscribe a user from everything given a userid
-
I have bbpress and Ultimate Member/Subscriptions. When a user cancels their subscription, they are removed from ultimate member but not from bbpress and they are still receiving notifications. I have searched through this forum and found similar issues.
I think I can fix it with AutomateWoo and a custom function. AutomateWoo can trigger the function. I just don’t know how to write a function that has a userid as an argument and then loops through unsubscribing this user.
Can anyone help? I am sure this might help others as well.Thank you in advance.
- You must be logged in to reply to this topic.