Add and remove subscribers programmatically
-
Hi! First of all thank you for the plugin ??
I need to do a tricky thing… I have to send an email every x-days to people who didn’t buy a product (anual subscription). The problem is that they can buy this offline, which means that not every purchase is registered in woocommerce.
My solution to have everything in the same place was creating a custom field for the users that is empty or false (unpayed or payed). I think the easiest way to do this is subscribe everyone and create a function where everytime the custom field is updated the user is unsubscribed is the field is not empty. Can you help me with this?
- The topic ‘Add and remove subscribers programmatically’ is closed to new replies.