If you want to add an extra user profile field in the front end, you can use this hook.
One argument/parameter is passed to this hook.
<?php add_action('wpdm_update_profile_field_html','new_user_profile_field',10,1); ?>
<?php add_action('wpdm_update_profile_field_html', 'new_user_profile_field', 10, 1); function new_user_profile_field($user) { ?> <div class="col-md-6"> <label for="fb_id">Profile Field Label: </label> <input type="text" value="<?php echo get_user_meta($user->ID, 'profile_field_name', true); ?>" class="form-control" name="profile_field_name" id="profile_field_id"> </div> <?php } ?>
add_action('wpdm_update_profile','xyz_update_profile'); function xyz_update_profile() { if(!is_user_logged_in()) return true; update_user_meta(get_curren_user_id(), "prfile_field_name", wpdm_query_var("profile_field_name")); }
For any technical issue, if you are already using pro version please post in pro forum and free version users please post in free forum. Otherwise, if you have any pre-sale or order related query please contact live chat support team. For technical support.