Title: Adding a button
Last modified: June 2, 2021

---

# Adding a button

 *  Resolved [solaris50](https://wordpress.org/support/users/solaris50/)
 * (@solaris50)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/adding-a-button-5/)
 * Hi,
 * I want to add an extra button to my register form that will send the user a verification
   email containing a code.
 * I am not sure how I can create this button can I get assistance with this
 * Thanks

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Contributor [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * (@champsupertramp)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/adding-a-button-5/#post-14514420)
 * Hi [@solaris50](https://wordpress.org/support/users/solaris50/)
 * You need to dettach this function `um_add_submit_button_to_register` from the
   action hook `um_after_register_fields`
 * e.g.
    `remove_action( 'um_after_register_fields', 'um_add_submit_button_to_register',
   1000 );`
 * And then copy the content from the function `um_add_submit_button_to_register`
   and modify the content to add your custom button. Now, create a new function 
   and attach it to the action hook `um_after_register_fields`
 * e.g.
    `add_action( 'um_after_register_fields', 'um_060321_mycustom_register_btn',
   1000 );`
 * Regards,
 *  Plugin Contributor [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * (@champsupertramp)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/adding-a-button-5/#post-14558639)
 * Hey there!
 *  This thread has been inactive for a while so we’re going to go ahead and mark
   it Resolved.
 * Please feel free to re-open this thread by changing the Topic Status to ‘Not 
   Resolved’ if any other questions come up and we’d be happy to help. 🙂
 * Regards,

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Adding a button’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-member/assets/icon-256x256.png?rev=3160947)
 * [Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin](https://wordpress.org/plugins/ultimate-member/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-member/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-member/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-member/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-member/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-member/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Champ Camba](https://wordpress.org/support/users/champsupertramp/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/adding-a-button-5/#post-14558639)
 * Status: resolved