arm_cancel_subscription_gateway_action

This action will be executed whenever a recurring membership plan cancelled by admin or user.

Hook Type: Action
Usage:
add_action( 'arm_cancel_subscription_gateway_action', 'your_function', 10, 2);
function your_function($user_id, $old_plan_id) {
    //Do Your Action
    //$user_id User ID.
    //$old_plan_id Plan ID.
}
Parameters:
$user_id
User ID
$old_plan_id
Plan ID