API Category: Member Related Hooks

arm_update_profile_external

Usage: add_action( ‘arm_update_profile_external’, ‘your_function’, 10, 2 ); function your_function($user_id, $form_data) { //Do Your Action //$user_id User ID as String. //$form_data as Array } Parameters: $user_id User ID as String.. $form_data Array of form data posted.

Read More

arm_change_password_external

Usage: add_action( ‘arm_change_password_external’, ‘your_function’, 10, 2 ); function your_function($user_id, $new_password) { //Do Your Action //$user_id User ID as String. //$new_password as String } Parameters: $user_id User ID as String.. $new_password new_password as String.

Read More

arm_before_change_user_plans

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 […]

Read More

arm_before_renew_user_plans

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 […]

Read More

arm_after_cancel_subscription

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_actionCancel Subscription Action(By User) which is set in plan$user_idUser ID$planPlan Object

Read More

arm_before_cancel_subscription

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 $planPlan Object

Read More

arm_after_add_new_user

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

Read More

arm_add_user_to_armember

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

Read More

arm_after_user_plan_renew

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

Read More

arm_after_user_plan_change

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

Read More
Welcome to ARMember
Fancy getting all offers and update notifications?
Subscribe
Give it a try, you can unsubscribe anytime.
Close