Usage:
add_action( 'arm_before_change_user_plans', 'your_function', 10, 4);
function your_function($user_id=0, $old_plan_id_array = 0, $new_plan_id = 0, $new_plan_object) {
     //Do Your Action
    //$user_id User ID.
    //$old_plan_id_array Array of user's old plan IDs.
    //$new_plan_id Plan New plan ID. 
    //$new_plan_object New Plan Object. 
}
Parameters:
$user_id
User ID
$old_plan_id_array
Array of user’s old plan IDs
$new_plan_id
New Plan ID
$new_plan_object
New Plan Object
Usage:
add_action( 'arm_before_renew_user_plans', 'your_function', 10, 4);
function your_function($user_id=0, $old_plan_id_array = 0, $new_plan_id = 0, $new_plan_object) {
     //Do Your Action
    //$user_id User ID.
    //$old_plan_id_array Array of user's old plan IDs.
    //$new_plan_id Plan New plan ID.
    //$new_plan_object New Plan Object. 
}
Parameters:
$user_id
User ID
$old_plan_id_array
Array of user’s old plan IDs
$new_plan_id
New Plan ID
$new_plan_object
New Plan Object
Usage:
add_action( 'arm_after_cancel_subscription', 'your_function', 10, 3);
function your_function($user_id=0, $plan, $cancel_plan_action=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
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
Usage:
add_action( 'arm_after_add_new_user', 'arm_after_add_new_user_func', 10, 2);
    function arm_after_add_new_user_func($user_id = 0, $posted_register_data = array()) {
        // Do Your Action.
    }
Parameters:
$user_id
User ID
$posted_register_data
Posted data from registration form submission
Usage:
add_action( 'arm_add_user_to_armember', 'arm_add_user_to_armember_func', 10, 3);
    functionarm_add_user_to_armember_func($user_id, $blog_id, $plan_id) {
        // Do Your Action.
    }
Parameters:
$user_id
User ID
$plan_id
Plan ID
$blog_id
blog id in case of multisite
Usage:
add_action( 'arm_after_user_plan_renew', 'arm_after_user_plan_renew_func', 10, 2);
    function arm_after_user_plan_renew_func($user_id, $plan_id) {
        // Do Your Action.
    }
Parameters:
$user_id
User ID
$plan_id
Plan ID
Usage:
add_action( 'arm_after_user_plan_change', 'arm_after_user_plan_change_func', 10, 2);
    function arm_after_user_plan_change_func($user_id, $plan_id) {
        // Do Your Action.
    }
Parameters:
$user_id
User ID
$plan_id
Plan ID
Usage:
add_action( 'arm_after_all_users_import', 'your_function', 10, 2);
function your_function($user_ids, $errors) {
    //Do Your Action.
    //$user_ids Imported User IDs.
    //$errors Array of Errors while importing users.
}
Parameters:
$user_ids
Imported User IDs
$errors
Array of Errors while importing users
Usage:
add_action( 'arm_after_user_import', 'your_function');
function your_function($user_id) {
    //Do Your Action.
    //$user_id User ID.
}
Parameters:
$user_id
User ID