Add a hidden field to your register form
Perhaps you may need to add hidden fields to your registration form. To do this you can use hooks:
um_after_register_fields
- this hook can add hidden fields to the registration form.um_registration_set_extra_data
- this hook can save hidden field values on the registration form submit.
See a code example below. You can add a code snippet to the file functions.php in the active theme directory. Skip the opening <?php
tag.
NOTE: We have created this code example to provide guidance and to make it easier for you to implement this code into your website. However, we are not able to provide any support when it comes to customizing the plugin. If you need help implementing this code, please hire a developer.