pmpro_subscription_expired

For BrainTree only. Execute custom code before sending the Subscription Expired email. Passes the user’s last successful MemberOrder object.

pmpro_subscription_cancelled

For BrainTree only. Execute custom code before sending the Billing Failure email. Passes the user’s last successful MemberOrder object.