Is there a way I can run a custom function when a membership expires?
I see the expire_memberships() function is called by the events/hourly hook but I don’t see a way to add an action to that.
Hi,
To do this, we recommend using the email hook hivepress/v1/emails/membership_expire/send, where you can find the membership object in tokens.
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.