API Category: Form Builder Hooks

arm_form_data_before_form_shortcode

Usage: add_filter( ‘arm_form_data_before_form_shortcode’, ‘your_function’, 10, 2); function your_function($form, $atts) { //$form Form Object. //$atts Shortcode Arguments. $form->label = ‘My Form’; return $form; } Parameters: $form Form Object $atts Shortcode Attributes

Read More

arm_form_data_before_edit_profile_shortcode

Usage: add_filter( ‘arm_form_data_before_edit_profile_shortcode’, ‘your_function’, 10, 2); function your_function($form, $atts) { //$form Form Object. //$atts Shortcode Arguments. $form->settings[‘style’][‘color_scheme’] = ‘default’; return $form; } Parameters: $form Form Object $atts Shortcode Attributes

Read More

arm_before_render_close_account_form

Usage: add_action( ‘arm_before_render_close_account_form’, ‘your_function’ ); function your_function($atts) { //Do Your Action //$atts Shortcode Attributes echo “Close Account Form Starts From Here”; } Parameters: $atts Shortcode Attributes

Read More

arm_before_render_edit_profile_form

Usage: add_action( ‘arm_before_render_edit_profile_form’, ‘your_function’, 10, 2 ); function your_function($form, $atts) { //Do Your Action //$form Form Object. //$atts Shortcode Attributes echo “Form Starts From Here”; } Parameters: $form Form Object $atts Shortcode Attributes

Read More

arm_before_render_form

Usage: add_action( ‘arm_before_render_form’, ‘your_function’, 10, 2 ); function your_function($form, $atts) { //Do Your Action //$form Form Object. //$atts Shortcode Attributes echo “Form Starts From Here”; } Parameters: $form Form Object $atts Shortcode Attributes

Read More

arm_after_close_account

Usage: add_action( ‘arm_after_close_account’, ‘your_function’, 10, 2); function your_function($user_id, $user) { //Do Your Action //$user_id User ID. //$user User Object. } Parameters: $user_id User ID $user User Object

Read More

arm_buddypress_xprofile_field_save

Usage: add_action( ‘arm_buddypress_xprofile_field_save’, ‘your_function’, 10, 3); function your_function($user_id, $posted_data = array(), $action) { //Do Your Action //$user_id User ID. //$posted_data Posted Form Data. //$action Form Action. Possible values: ‘add’ or ‘update’ } Parameters: $user_id User ID $posted_data Posted Form Data $action Form Action. Possible values: ‘add’ or ‘update’

Read More

arm_user_password_changed

Usage: add_action( ‘arm_user_password_changed’, ‘your_function’); function your_function($user) { //Do Your Action //$user User Object. } Parameters: $user User Object

Read More

arm_member_update_meta

Usage: add_action( ‘arm_member_update_meta’, ‘your_function’, 10, 2 ); function your_function($user_id, $posted_data) { //Do Your Action //$user_id User ID. //$posted_data Posted Form Details. } Parameters: $user_id User ID $posted_data Posted Form Details

Read More

arm_after_form_validate_action

Usage: add_action( ‘arm_after_form_validate_action’, ‘your_function’, 10, 2 ); function your_function($armform, $posted_data) { //Do Your Action //$armform Form Object. //$posted_data Posted Form Details. } Parameters: $armform Form Object $posted_data Posted Form Details

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