This action will be executed when new plan is assigned to user or user's plan is changed.
Hook Name: arm_after_user_plan_change
Hook Type: Action
Source: core/classes/class.arm_subscription_plans.php
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