When a user registers for a WordPress site, they are redirected to the login page after completing the registration form. Is there a way to redirect them to the previous page before filling out the registration form?
Please note that I'm not looking for a custom/static page because the user will be coming from various pages and that's the page I want them to return to - not the same page for every case. Thanks!