pmpro_subscription_expired

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


do_action("pmpro_subscription_expired", $old_order);

pmpro_subscription_cancelled

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


do_action("pmpro_subscription_cancelled", MemberOrder $old_order);

pmpro_subscription_payment_went_past_due

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


do_action("pmpro_subscription_payment_went_past_due", $old_order);

pmpro_subscription_payment_failed

Execute custom code when a subscription payment fails. Passes the last successful MemberOrder object.


do_action("pmpro_subscription_payment_failed", MemberOrder $old_order);