Support » Plugin: Ultimate Member – User Profile, User Registration, Login & Membership Plugin » Redirect to a page after changing user password

  • Resolved alexrwock


    Hi team!

    I have tried that after the password change (password reset) redirect the url to the home page but I have not succeeded.

    I am doing it using the following hooks:

    add_action( ‘um_after_changing_user_password’, ‘function_name’, 10, 1 );


    add_action( ‘um_after_changing_user_password’, ‘my_after_changing_user_password’, 10, 1 );
    function my_user_login_extra( $user_id ) {
    // your code here


    um_after_changing_user_password is located in includes/core/um-actions-password.php::line 70

    Could you help me?

    Thank you very much.

    The page I need help with: [log in to see the link]

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


    Hello @alexrwock

    Please try this code snippet:

    add_action( 'um_after_changing_user_password', function( $user_id ){
    	exit( wp_redirect( get_home_url() ) );
    }, 8, 1 );
    • This reply was modified 3 weeks, 1 day ago by Aswin Giri.
    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.