Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author John Blackbourn

    (@johnbillion)

    WordPress Core Developer

    Yeah check out the logout_redirect and login_redirect filters. These mirror the same filters that WordPress core uses when a user logs in or out.

    Thread Starter camblair

    (@camblair)

    Thanks for pointing me there…but I’m not expert enough to know exactly what I should do there.

    Would I just edit the else statement for switching back to the previous user with the preferred url? How would I format that?

    Like this:?

    @param //mydomain.com/wp-admin/users.php $redirect_to

    Do I change “param” to be something unique?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Custom Switch Back to User Link’ is closed to new replies.