Archives: API Documents

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_profile_content_after_fields_outside

Usage: add_filter(‘arm_profile_content_after_fields_outside’, ‘your_function’, 10, 3); function your_function($content = ”, $args = array(), $user= array()) { //$user Array of User with details. //$args Shortcode Argument. //$content content after user profile fields return $content; } Parameters: $content Content to display after user’s profile fields section. $args Array of arguments of profile template shortcode. $user array of user […]

Read More

arm_profile_content_before_fields_outside

Usage: add_filter(‘arm_profile_content_before_fields_outside’, ‘your_function’, 10, 3); function your_function($content = ”, $args = array(), $user= array()) { //$user Array of User with details. //$args Shortcode Argument. //$content content before user profile fields return $content; } Parameters: $content Content to display before user’s profile fields section. $args Array of arguments of profile template shortcode. $user array of user […]

Read More

arm_after_recurring_payment_completed_outside

Usage: add_action( ‘arm_after_recurring_payment_completed_outside’, ‘your_function’, 10, 5); function your_function($user_id= 0, $plan_id= 0 , $payment_gateway= ”, $payment_mode= ”, $user_subdata= array()) { //Do Your Action //$user_id User ID //$plan_id Plan ID //$payment_gateway Payment Gateway //$payment_mode Payment Method ‘Auto’ OR ‘Manual’ //$user_subdata Array of payment data like subscription ID, Customer ID, Token } Parameters: $user_id User ID $plan_id Plan […]

Read More

arm_after_recurring_payment_failed_outside

Usage: add_action( ‘arm_after_recurring_payment_failed_outside’, ‘your_function’, 10, 5); function your_function($user_id= 0, $plan_id= 0 , $payment_gateway= ”, $payment_mode= ”, $user_subdata= array()) { //Do Your Action //$user_id User ID //$plan_id Plan ID //$payment_gateway Payment Gateway //$payment_mode Payment Method ‘Auto’ OR ‘Manual’ //$user_subdata Array of payment data like subscription ID, Customer ID, Token } Parameters: $user_id User ID $plan_id Plan […]

Read More

arm_after_recurring_payment_success_outside

Usage: add_action( ‘arm_after_recurring_payment_success_outside’, ‘your_function’, 10, 5); function your_function($user_id= 0, $plan_id= 0 , $payment_gateway= ”, $payment_mode= ”, $user_subdata= array()) { //Do Your Action //$user_id User ID //$plan_id Plan ID //$payment_gateway Payment Gateway //$payment_mode Payment Method ‘Auto’ OR ‘Manual’ //$user_subdata Array of payment data like subscription ID, Customer ID, Token } Parameters: $user_id User ID $plan_id Plan […]

Read More

arm_after_bank_transfer_payment

Usage: add_action( ‘arm_after_bank_transfer_payment’, ‘your_function’, 10, 5); function your_function($plan, $payment_mode= ” , $amount= 0, $coupon_code= ”, $arm_is_trial= 0) { //Do Your Action //$plan plan object //$payment_mode Payment Method ‘Auto’ OR ‘Manual’ //$amount Plan Amount //$coupon_code Coupon code //$arm_is_trial Whether user paid for trial period or not? } Parameters: $plan Plan Object $payment_mode Payment Method ‘Auto’ OR […]

Read More

arm_after_stripe_free_manual_payment

Usage: add_action( ‘arm_after_stripe_free_manual_payment’, ‘your_function’, 10, 5); function your_function($plan, $payment_log_id = 0 , $arm_is_trial = 0, $coupon_code = ”, $extraParam = array()) { //Do Your Action //$plan plan object //$payment_log_id Payment ID //$arm_is_trial Is this payment of trial period? //$coupon_code Coupon code //$extraParam Array of extra parameters } Parameters: $plan Plan Object $payment_log_id ID of row […]

Read More

arm_after_paypal_free_manual_payment

Usage: add_action( ‘arm_after_paypal_free_manual_payment’, ‘your_function’, 10, 5); function your_function($plan, $payment_log_id = 0 , $arm_is_trial = 0, $coupon_code = ”, $extraParam = array()) { //Do Your Action //$plan plan object //$payment_log_id Payment ID //$arm_is_trial Is this payment of trial period? //$coupon_code Coupon code //$extraParam Array of extra parameters } Parameters: $plan Plan Object $payment_log_id ID of row […]

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