Support » Plugin: Ultimate Member – User Profile, User Registration, Login & Membership Plugin » Change registration form validation message

  • Resolved rafi45678


    When a user already has an email or user name registered it says that the email/username is incorrect how can I change it to “that username/email address is already registered

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Aswin Giri


    Hello @rafi45678

    UM currently does not have a hook to change that text but you can add additional validation to add that message, please try adding following code snippets with code snippets plugin or you can paste it to your theme’s functions.php file:

    add_action( 'um_add_error_on_form_submit_validation', function( $array, $key, $args ){
        if( 'user_email' == $key ){
            if( get_user_by( 'email', $args[$key] )){
                UM()->form()->add_error( $key, __( 'That Email address is already registered', 'ultimate-member' ) );
    },1,3 );


    Plugin Support Ultimate Member Support


    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. 🙂


Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.