Support » Plugin: User Switching » Switch Off

  • Resolved ELAN42///


    Sometimes I have to work on themes were the “switch off” links cannot be reached by the impersonated user. Is there any URL I can use to force it? Thank you

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


    WordPress Core Developer

    There isn’t a specific URL because it differs for each user, but you can use the following PHP to get the URL:

    $url = user_switching::switch_off_url( wp_get_current_user() );

Viewing 1 replies (of 1 total)
  • You must be logged in to reply to this topic.