View the WordPress admin as a different role, switch between users, temporarily change your capabilities, set default screen settings for roles, manage your roles and capabilities.
When you are viewing as a site visitor you can only see the frontend, so currently I've placed a redirect to home_url() when switching. But if the user is already on the frontend it shouldn't redirect to the frontend but just do a refresh.
When you are viewing as a site visitor you can only see the frontend, so currently I've placed a redirect to
home_url()
when switching. But if the user is already on the frontend it shouldn't redirect to the frontend but just do a refresh.