• Resolved Andry

    (@blackstar1991)


    Hello. The site uses several UM registration forms. One of them is used on the registration page, and the other is used in the pop-up window on the comments page.
    Question: How can I make the form that is used in the pop-up window so that if registration is successful, the user remains on the same page?

    I’m looking for the same setup as was implemented for the Login form.

    but for Registration form

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support andrewshu

    (@andrewshu)

    Hello @blackstar1991

    You could try to use a hook for redirect after registration. Sorry, but customizations are not included in our support.

    Regards.

    Thread Starter Andry

    (@blackstar1991)

    If I understand correctly, then this functionality is not present in the current implementation?

    Can you please tell me which hook is responsible for this redirect?

    Plugin Support andrewshu

    (@andrewshu)

    Hi @blackstar1991

    Try to use this hook:

    /**
    		 * Fires after complete UM user registration and autologin.
    		 *
    		 * @since 1.3.65
    		 * @hook  um_registration_after_auto_login
    		 *
    		 * @param {int} $user_id User ID.
    		 *
    		 * @example <caption>Make a custom action after complete UM user registration and autologin.</caption>
    		 * function my_um_registration_after_auto_login( $user_id ) {
    		 *     // your code here
    		 * }
    		 * add_action( 'um_registration_after_auto_login', 'my_um_registration_after_auto_login' );
    		 */

    Regards.

    Plugin Support andrewshu

    (@andrewshu)

    Hi @blackstar1991

    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 if any other questions come up and we’d be happy to help. ??

    Regards

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘How to stay the same page after Registration.’ is closed to new replies.