API Category: Membership Setup Hooks

arm_setup_data_before_setup_shortcode

Usage: add_filter( ‘arm_setup_data_before_setup_shortcode’, ‘your_function’, 10, 2); function your_function($setup_data, $atts) { //$setup_data Array of Membership Setup Detail. //$atts Shortcode Arguments. $setup_data[‘setup_name’] = ‘My Form’; return $setup_data; } Parameters: $setup_data Array of Membership Setup Detail $atts Shortcode Attributes

Read More

arm_before_render_membership_setup_form

Usage: add_action( ‘arm_before_render_membership_setup_form’, ‘your_function’, 10, 2 ); function your_function($setup_data, $atts) { //Do Your Action //$setup_data Array of Membership Setup Detail. //$atts Shortcode Attributes echo “Setup Form Starts From Here”; } Parameters: $setup_data Array of Membership Setup Detail $atts Shortcode Attributes

Read More

arm_after_setup_form_validate_action

Usage: add_action( ‘arm_after_setup_form_validate_action’, ‘your_function’, 10, 2); function your_function($setup_id, $post_data) { //Do Your Action. //$setup_id Membership setup id. //$post_data Posted membership setup form data. } Parameters: $setup_id Membership setup id $post_data Posted membership setup form data

Read More

arm_after_setup_form_action

Usage: add_action( ‘arm_after_setup_form_action’, ‘your_function’, 10, 2); function your_function($setup_id, $post_data) { //Do Your Action. //$setup_id Membership setup id. //$post_data Posted membership setup form data. } Parameters: $setup_id Membership setup id $post_data Posted membership setup form data

Read More

arm_before_setup_form_action

Usage: add_action( ‘arm_before_setup_form_action’, ‘your_function’, 10, 2); function your_function($setup_id, $post_data) { //Do Your Action. //$setup_id Membership setup id. //$post_data Posted membership setup form data. } Parameters: $setup_id Membership setup id $post_data Posted membership setup form data

Read More

arm_saved_membership_setup

Usage: add_action( ‘arm_saved_membership_setup’, ‘your_function’, 10, 2); function your_function($setup_id, $setup_data) { //Do Your Action. //$setup_id Added/Updated membership setup id. //$setup_data Added/Updated membership setup details. } Parameters: $setup_id Added/Updated membership setup id $setup_data Added/Updated membership setup details

Read More

arm_save_membership_setups

Usage: add_action( ‘arm_save_membership_setups’, ‘your_function’); function your_function($posted_data = array()) { //Do Your Action. //$posted_data Posted membership setup details. } Parameters: $posted_data Posted membership setup details

Read More

arm_after_setup_order_detail

Usage: add_filter( ‘arm_after_setup_order_detail’, ‘your_function’, 10, 3); function your_function($module_content, $setupID, $setup_data) { //$module_content Membership Setup Shortcode Module Content. //$setupID Setup ID. //$setup_data Membership Setup Details. return $module_content; } Parameters: $module_content Membership Setup Shortcode Module Content $setupID Setup ID $setup_data Membership Setup Details

Read More

arm_after_redeem_coupon_section

Usage: add_filter( ‘arm_after_redeem_coupon_section’, ‘your_function’); function your_function($content) { //$content Redeem Coupon HTML Content. return $content; } Parameters: $content Redeem Coupon HTML Content

Read More

arm_before_redeem_coupon_section

Usage: add_filter( ‘arm_before_redeem_coupon_section’, ‘your_function’); function your_function($content) { //$content Redeem Coupon HTML Content. return $content; } Parameters: $content Redeem Coupon HTML Content

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