• Resolved TrueLie


    I have sections of the site that are only available to registered users. When a guest goes to this section, they are directed to the login page with the redirect saved. But if the guest was not registered earlier, they will need to go to the registration page and then the referral will be lost. I would like to save the referral from the current URL to the “Register” button, so that after registration, the already registered user is redirected to a page that was previously unavailable to him. Please tell me if it is possible to do this?


Viewing 1 replies (of 1 total)
  • Plugin Contributor Champ Camba


    Hi @footballher0

    Unfortunately, you will need to customize the Register redirection after successful redirection.

    I would store the referral ID or URL in session or cookie and then use after the Registration is completed. Here’s the action hook that you can use to trigger the completed registration: um_registration_complete – params: $user_id, $args.

    Hope this helps.


Viewing 1 replies (of 1 total)
  • The topic ‘Refer in the register button’ is closed to new replies.