Apps Ballance Chat Click Code Cog_Wheels Compose_email Conference Contacts Earth Edit_File_1_ Email Email_2 File Folder_2 Gift Group Group_2 Help ID ID_2 Key Keys Laptop_Store Link Lock Log_Out Map Marketing Mobile_UI Navigation Partnership Profile Safe_2 Search_User Secure_Files Settings Share Shield Shield_2 Shopping_Cart Support_Male Trash Type_pin User_female User_male logo copy

How to add email confirmation at registration

Iain Poulson avatar
Iain Poulson Last updated on March 6, 2021

The WP User Manager plugin has many filters that allows developers to extend the plugin and add new fields. In some cases you might want to add an email confirmation field so that user can type the email twice to make sure it’s correct. 

The
wpum_get_registration_fields filter allows developers to introduce new fields into the registration form. Once the field has been added, you can use the  submit_wpum_form_validate_fields filter to add new validation rules. The new validation rule is needed so that you can actually verify that both emails are the same.

Here’s the full code:

Within the snippets you can feel free to modify the label, description and even the validation error.

Need more help?

If you still didn't find an answer you can always contact us

Submit a ticket