Hooks
If you need to extend Subscriptions, you can use the built in hooks to trigger your own custom code. The available hooks are :
subs_subscription_created
- After the subscription has been inserted to DB
subs_subscription_updating
- Just before the existing subscription info is updated
subs_subscription_updated
- After the existing subscription info has been updated
subs_subscription_deleted
- After the existing subscription info has been deleted
subs_subscription_adjusters
- Before returning an array of possible adjusters
subs_subscription_bought
- After the subscription has been bought by a user and actions/emails have been triggered
subs_subscription_cancelled
- After the subscription has been canceled, but before actions/emails have been triggered