arm_before_cancel_subscription

This filter hook can be used to change cancel action prior to user's plan is cancelled.

Hook Type: filter
Source: class.arm_subscription_plans.php
Usage:
add_filter( 'arm_before_cancel_subscription', 'your_function', 10, 3);
function your_function($cancel_plan_action, $plan, $user_id=0) {
    //Do Your Action
//$cancel_plan_action Cancel Subscription Action(By User) which is set in plan
//$user_id User ID.
//$plan Plan Object.
}
Parameters:
$cancel_plan_action
Cancel Subscription Action(By User) which is set in plan
$user_id
User ID
$plan
Plan Object