Title: dueddel's Replies | WordPress.org

---

# dueddel

  [  ](https://wordpress.org/support/users/dueddel/)

 *   [Profile](https://wordpress.org/support/users/dueddel/)
 *   [Topics Started](https://wordpress.org/support/users/dueddel/topics/)
 *   [Replies Created](https://wordpress.org/support/users/dueddel/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/dueddel/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/dueddel/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/dueddel/engagements/)
 *   [Favorites](https://wordpress.org/support/users/dueddel/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin] Access for specific users by defining whitelist](https://wordpress.org/support/topic/access-for-specific-users-by-defining-whitelist/)
 *  Thread Starter [dueddel](https://wordpress.org/support/users/dueddel/)
 * (@dueddel)
 * [11 years ago](https://wordpress.org/support/topic/access-for-specific-users-by-defining-whitelist/#post-6075003)
 * Ok, I just found the `um_submit_form_errors_hook_` hook which uses the `um_submit_form_errors_hook_()`
   function as callback in _ultimate-member/core/um-actions-form.php_ (at line ~
   150).
 * With this hook I can add my own (whitelist) validtions for e-mail values on registration.
   Seems to be the right place for me. …At least my changes work properly there.
 * **So, this is the Solution:** I just used that hook (mentioned above) in my functions.
   php to add my e-mail check on top of the original checks that are made by UM.
 * Works like a charm.
 * Here is a little code snippet for adding that hook to your functions.php:
 * `function my_awesome_submit_form_errors( $args ) {
    // start your indiviual form
   validation here // in case of doubt just copy some lines of code from the original
   um_submit_form_errors_hook_() function to get a feeling how it works } add_action('
   um_submit_form_errors_hook_', 'my_awesome_submit_form_errors', 10 );
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin] Access for specific users by defining whitelist](https://wordpress.org/support/topic/access-for-specific-users-by-defining-whitelist/)
 *  Thread Starter [dueddel](https://wordpress.org/support/users/dueddel/)
 * (@dueddel)
 * [11 years ago](https://wordpress.org/support/topic/access-for-specific-users-by-defining-whitelist/#post-6074935)
 * By the way any kind of WordPress hook “in the middle” of the registration’s validation
   process that lets me check the user’s e-mail address on my own would also help
   me.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Ultimate Member – User Profile, Registration, Login, Member Directory, Content Restriction & Membership Plugin] Version 1.2.5 Password Reset](https://wordpress.org/support/topic/version-125-password-reset/)
 *  [dueddel](https://wordpress.org/support/users/dueddel/)
 * (@dueddel)
 * [11 years ago](https://wordpress.org/support/topic/version-125-password-reset/#post-6042633)
 * …Had the same problem. Works like a charm now. Thanks.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Image Upload Helper] Image Upload Helper uses bad default size for images](https://wordpress.org/support/topic/image-upload-helper-uses-bad-default-size-for-images/)
 *  Thread Starter [dueddel](https://wordpress.org/support/users/dueddel/)
 * (@dueddel)
 * [13 years, 3 months ago](https://wordpress.org/support/topic/image-upload-helper-uses-bad-default-size-for-images/#post-3396360)
 * By the way, I think it would be better to use the function `<a href="http://codex.
   wordpress.org/Function_Reference/get_intermediate_image_sizes">get_intermediate_image_sizes()
   </a>` instead of checking the global variable `$_wp_additional_image_sizes` as
   done in the `Image_Upload_Helper` class.
 * Would be great if these tips will find their way into your plugin.
    Because I
   like that plugin. 🙂

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