• Hi there,

    I have multiple login forms (one in a modal, one on a static page). For the modal, I don’t want to redirect the user upon login. For the login form on the static page, I would like to redirect the user…and I would like to redirect them based on a URL parameter that I set.

    For example…

    ~/login/?redirect_to={my url_encode string}

    …would redirect the user to the URL set in the paramenter redirect_to

    Could you please let me know if there’s a filter/hook that I can use to redirect a user upon login for a specific form?

    Thanks in advance!

Viewing 1 replies (of 1 total)
  • Hi,

    I’m not 100% this would work, but it might be possible to filter lwa_ajax to do this. You can see it in use in login-with-ajax.php.

Viewing 1 replies (of 1 total)

The topic ‘Parametric Login Redirection’ is closed to new replies.