Usage:
do_action( 'arm_apply_plan_to_member', $plan_id, $user_id);
Parameters:
$plan_id
Membership Plan ID
$user_id
Existing User ID to whom you want to assign a new membership plan.
Usage:
add_action( 'arm_before_update_user_subscription', 'your_function', 10, 2);
function your_function($user_id = 0, $new_plan_id=0) {
    //Do Your Action
    //$user_id User ID.
    //$new_plan_id New Plan ID.
}
Parameters:
$user_id
User ID
$new_plan_id
New Plan ID
Usage:
add_action( 'arm_user_plan_status_action_failed_payment', 'your_function', 10, 2);
add_action( 'arm_user_plan_status_action_cancel_payment', 'your_function', 10, 2);
add_action( 'arm_user_plan_status_action_eot', 'your_function', 10, 2);
function your_function($args, $plan_detail) {
    //Do Your Action
    //$args Array of plan_id, user_id & action. action: 'failed_payment', 'cancel_payment', & 'eot'.
    //$plan_detail Plan Details.
}
Parameters:
$args
Array of plan_id, user_id & action. action: ‘failed_payment’, ‘cancel_payment’, & ‘eot'(end of term)
$plan_detail
Plan Details
Usage:
add_action( 'arm_deleted_subscription_plan', 'your_function', 10, 2);
function your_function($plan_id, $plan_data) {
    //Do Your Action
    //$plan_id Deleted Plan ID.
    //$plan_data Deleted Plan Details.
}
Parameters:
$plan_id
Deleted Plan ID
$plan_data
Deleted Plan Details
Usage:
add_action( 'arm_saved_subscription_plan', 'your_function', 10, 2);
function your_function($plan_id, $plan_data) {
    //Do Your Action
    //$plan_id Added/Updated Plan ID.
    //$plan_data Added/Updated Plan Details.
}
Parameters:
$plan_id
Added/Updated Plan ID
$plan_data
Added/Updated Plan Details
Usage:
add_action( 'arm_save_subscription_plans', 'your_function');
function your_function($posted_data) {
    //Do Your Action
    //$posted_data Posted Subscription Plan Details.
}
Parameters:
$posted_data
Posted Subscription Plan Details