{"id":3146,"date":"2025-02-13T14:20:39","date_gmt":"2025-02-13T14:20:39","guid":{"rendered":"https:\/\/s-o-s.net\/user-switching\/"},"modified":"2025-02-13T14:20:39","modified_gmt":"2025-02-13T14:20:39","slug":"user-switching","status":"publish","type":"post","link":"https:\/\/s-o-s.net\/en_gb\/user-switching\/","title":{"rendered":"User Switching"},"content":{"rendered":"<p> <br \/>\n<\/p>\n<article id=\"post-570\" class=\"alignwide post-570 plugin type-plugin status-publish hentry plugin_tags-fast-user-switching plugin_tags-multisite plugin_tags-user-switching plugin_tags-users plugin_tags-woocommerce plugin_category-discussion-and-community plugin_category-multisite plugin_contributors-johnbillion plugin_business_model-community plugin_committers-johnbillion plugin_committers-lumpysimon\">\n<div class=\"plugin-banner\" id=\"plugin-banner-user-switching\"><\/div>\n<header class=\"plugin-header\">\n<div class=\"entry-heading-container\">\n<div>\n<div class=\"entry-thumbnail\">\n\t\t\t\t\t<img decoding=\"async\" class=\"plugin-icon\" src=\"https:\/\/ps.w.org\/user-switching\/assets\/icon.svg?rev=3193956\" alt=\"\">\t\t\t\t<\/div>\n<div>\n<h1 class=\"plugin-title\">User Switching<\/h1>\n<p>\t\t\t\t\t<span class=\"byline\">By <span class=\"author vcard\"><a target=\"_blank\" class=\"url fn n\" href=\"https:\/\/profiles.wordpress.org\/johnbillion\/\" rel=\"noopener\">John Blackbourn<\/a><\/span><\/span>\n\t\t\t\t<\/div>\n<\/p><\/div>\n<div class=\"plugin-actions\">\n<div class=\"wp-block-button is-small plugin-download download-button\"><a target=\"_blank\" class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/downloads.wordpress.org\/plugin\/user-switching.1.9.1.zip\" rel=\"noopener\">Download<\/a><\/div>\n<div class=\"wp-block-button is-small is-style-outline plugin-preview download-button is-style-outline--9\"><a target=\"_blank\" class=\"wp-block-button__link wp-element-button\" href=\"https:\/\/wordpress.org\/plugins\/user-switching\/?preview=1\" rel=\"noopener\">Live Preview<\/a><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/header>\n<p><!-- .entry-header --><\/p>\n<p>\t<span id=\"description\"><\/span><br \/>\n\t<span id=\"reviews\"><\/span><br \/>\n\t<span id=\"installation\"><\/span><br \/>\n\t<span id=\"developers\"><\/span><br \/>\n\t<span id=\"advanced\" class=\"\"><\/span><br \/>\n\t<span id=\"section-links\"><\/p>\n<ul class=\"tabs clear\">\n<li id=\"tablink-description\"><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/user-switching\/#description\" rel=\"noopener\">Details<\/a><\/li>\n<li id=\"tablink-reviews\"><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/user-switching\/#reviews\" rel=\"noopener\">Reviews<\/a><\/li>\n<li id=\"tablink-developers\"><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/user-switching\/#developers\" rel=\"noopener\">Development<\/a><\/li>\n<\/ul>\n<div id=\"link-support\">\n\t\t\t<a target=\"_blank\" href=\"https:\/\/wordpress.org\/support\/plugin\/user-switching\/\" rel=\"noopener\">Support<\/a>\n\t\t<\/div>\n<p>\t<\/span><br \/>\n\t<script type=\"text\/javascript\">if ( '#changelog' == window.location.hash ) { window.setTimeout( function() { window.location.hash=\"#developers\"; }, 10 ); }<\/script><\/p>\n<div class=\"entry-content\">\n<div id=\"tab-description\" class=\"plugin-description section\">\n<h2 id=\"description-header\">Description<\/h2>\n<p>This plugin allows you to quickly swap between user accounts in WordPress at the click of a button. You\u2019ll be instantly logged out and logged in as your desired user. This is handy for for helping customers on WooCommerce sites, membership sites, testing environments, or for any site where administrators need to switch between multiple accounts.<\/p>\n<h3>Features<\/h3>\n<ul>\n<li>Switch user: Instantly switch to any user account from the <em>Users<\/em> screen.<\/li>\n<li>Switch back: Instantly switch back to your originating account.<\/li>\n<li>Switch off: Log out of your account but retain the ability to instantly switch back in again.<\/li>\n<li>Compatible with Multisite, WooCommerce, BuddyPress, and bbPress.<\/li>\n<li>Compatible with most membership and user management plugins.<\/li>\n<li>Compatible with most two-factor authentication solutions (see the <a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/user-switching\/faq\/\" rel=\"ugc noopener\">FAQ<\/a> for more info).<\/li>\n<li>Approved for use on enterprise-grade WordPress platforms such as <a target=\"_blank\" href=\"https:\/\/www.altis-dxp.com\/\" rel=\"nofollow ugc noopener\">Altis<\/a> and <a target=\"_blank\" href=\"https:\/\/wpvip.com\/\" rel=\"nofollow ugc noopener\">WordPress VIP<\/a>.<\/li>\n<\/ul>\n<p>Note: User Switching supports versions of WordPress up to three years old, and PHP version 7.4 or higher.<\/p>\n<h3>Security<\/h3>\n<ul>\n<li>Only users with the ability to edit other users can switch user accounts. By default this is only Administrators on single site installations, and Super Admins on Multisite installations.<\/li>\n<li>Passwords are not (and cannot be) revealed.<\/li>\n<li>Uses the cookie authentication system in WordPress when remembering the account(s) you\u2019ve switched from and when switching back.<\/li>\n<li>Implements the nonce security system in WordPress, meaning only those who intend to switch users can switch.<\/li>\n<li>Full support for user session validation where appropriate.<\/li>\n<li>Full support for HTTPS.<\/li>\n<li>Backed by <a target=\"_blank\" href=\"https:\/\/patchstack.com\/database\/vdp\/user-switching\" rel=\"nofollow ugc noopener\">the Patchstack Vulnerability Disclosure Program<\/a><\/li>\n<\/ul>\n<h3>Usage<\/h3>\n<ol>\n<li>Visit the <em>Users<\/em> menu in WordPress and you\u2019ll see a <em>Switch To<\/em> link in the list of action links for each user.<\/li>\n<li>Click this and you will immediately switch into that user account.<\/li>\n<li>You can switch back to your originating account via the <em>Switch back<\/em> link on each dashboard screen or in your profile menu in the WordPress toolbar.<\/li>\n<\/ol>\n<p>See the <a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/user-switching\/faq\/\" rel=\"ugc noopener\">FAQ<\/a> for information about the <em>Switch Off<\/em> feature.<\/p>\n<h3>Other Plugins<\/h3>\n<p>I maintain several other plugins for developers. Check them out:<\/p>\n<ul>\n<li><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/query-monitor\/\" rel=\"ugc noopener\">Query Monitor<\/a> is the developer tools panel for WordPress<\/li>\n<li><a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/wp-crontrol\/\" rel=\"ugc noopener\">WP Crontrol<\/a> lets you view and control what\u2019s happening in the WP-Cron system<\/li>\n<\/ul>\n<h3>Privacy Statement<\/h3>\n<p>User Switching makes use of browser cookies in order to allow users to switch to another account. Its cookies operate using the same mechanism as the authentication cookies in WordPress core, which means their values contain the user\u2019s <code>user_login<\/code> field in plain text which should be treated as potentially personally identifiable information (PII) for privacy and regulatory reasons (GDPR, CCPA, etc). The names of the cookies are:<\/p>\n<ul>\n<li><code>wordpress_user_sw_{COOKIEHASH}<\/code><\/li>\n<li><code>wordpress_user_sw_secure_{COOKIEHASH}<\/code><\/li>\n<li><code>wordpress_user_sw_olduser_{COOKIEHASH}<\/code><\/li>\n<\/ul>\n<p>User Switching does not send data to any third party, nor does it include any third party resources, nor will it ever do so.<\/p>\n<p>See also the FAQ for some questions relating to privacy and safety when switching between users.<\/p>\n<h3>Accessibility Statement<\/h3>\n<p>User Switching aims to be fully accessible to all of its users. It implements best practices for web accessibility, outputs semantic and structured markup, adheres to the default styles and accessibility guidelines of WordPress, uses the accessibility APIs provided by WordPress and web browsers where appropriate, and is fully accessible via keyboard.<\/p>\n<p>User Switching should adhere to Web Content Accessibility Guidelines (WCAG) 2.0 at level AA when used with a recent version of WordPress where its admin area itself adheres to these guidelines. If you\u2019ve experienced or identified an accessibility issue in User Switching, please open a thread in <a target=\"_blank\" href=\"https:\/\/wordpress.org\/support\/plugin\/user-switching\/\" rel=\"ugc noopener\">the User Switching plugin support forum<\/a> and I\u2019ll address it swiftly.<\/p>\n<\/div>\n<div id=\"screenshots\" class=\"plugin-screenshots section\">\n<h2 id=\"screenshots-header\">Screenshots<\/h2>\n<ul class=\"plugin-screenshots\">\n<li>\n<figure><a target=\"_blank\" href=\"https:\/\/ps.w.org\/user-switching\/assets\/screenshot-1.png?rev=2204931\" rel=\"nofollow noopener\"><img decoding=\"async\" class=\"screenshot\" src=\"https:\/\/ps.w.org\/user-switching\/assets\/screenshot-1.png?rev=2204931\" alt=\"\"><\/a><figcaption>The <em>Switch To<\/em> link on the Users screen<br \/><\/figcaption><\/figure>\n<\/li>\n<li>\n<figure><a target=\"_blank\" href=\"https:\/\/ps.w.org\/user-switching\/assets\/screenshot-2.png?rev=2204931\" rel=\"nofollow noopener\"><img decoding=\"async\" class=\"screenshot\" src=\"https:\/\/ps.w.org\/user-switching\/assets\/screenshot-2.png?rev=2204931\" alt=\"\"><\/a><figcaption>The <em>Switch To<\/em> link on a user\u2019s profile<br \/><\/figcaption><\/figure>\n<\/li>\n<\/ul>\n<\/div>\n<div id=\"faq\" class=\"plugin-faq section\">\n<h2 id=\"faq-header\">FAQ<\/h2>\n<dl>\n<dt id=\"does%20this%20plugin%20work%20with%20php%208%3F\">\n<h3>Does this plugin work with PHP 8?<\/h3>\n<\/dt>\n<dd>\n<p>Yes, it\u2019s actively tested and working up to PHP 8.4.<\/p>\n<\/dd>\n<dt id=\"what%20does%20%22switch%20off%22%20mean%3F\">\n<h3>What does \u201cSwitch off\u201d mean?<\/h3>\n<\/dt>\n<dd>\n<p>Switching off logs you out of your account but retains your user ID in an authentication cookie so you can switch straight back without having to log in again manually. It\u2019s akin to switching to no user, and being able to switch back.<\/p>\n<p>The <em>Switch Off<\/em> link can be found in your profile menu in the WordPress toolbar. Once you\u2019ve switched off you\u2019ll see a <em>Switch back<\/em> link in a few places:<\/p>\n<ul>\n<li>In the footer of your site<\/li>\n<li>On the Log In screen<\/li>\n<li>In the \u201cMeta\u201d widget<\/li>\n<\/ul>\n<\/dd>\n<dt id=\"does%20this%20plugin%20work%20with%20wordpress%20multisite%3F\">\n<h3>Does this plugin work with WordPress Multisite?<\/h3>\n<\/dt>\n<dd>\n<p>Yes, and you\u2019ll also be able to switch users from the Users screen in Network Admin.<\/p>\n<\/dd>\n<dt id=\"does%20this%20plugin%20work%20with%20woocommerce%3F\">\n<h3>Does this plugin work with WooCommerce?<\/h3>\n<\/dt>\n<dd>\n<p>Yes, and you\u2019ll also be able to switch users from various WooCommerce administration screens while logged in as a Shop Manager or an administrative user.<\/p>\n<\/dd>\n<dt id=\"does%20this%20plugin%20work%20with%20buddypress%3F\">\n<h3>Does this plugin work with BuddyPress?<\/h3>\n<\/dt>\n<dd>\n<p>Yes, and you\u2019ll also be able to switch users from member profile screens and the member listing screen.<\/p>\n<\/dd>\n<dt id=\"does%20this%20plugin%20work%20with%20bbpress%3F\">\n<h3>Does this plugin work with bbPress?<\/h3>\n<\/dt>\n<dd>\n<p>Yes, and you\u2019ll also be able to switch users from member profile screens.<\/p>\n<\/dd>\n<dt id=\"does%20this%20plugin%20work%20if%20my%20site%20is%20using%20a%20two-factor%20authentication%20plugin%3F\">\n<h3>Does this plugin work if my site is using a two-factor authentication plugin?<\/h3>\n<\/dt>\n<dd>\n<p>Yes, mostly.<\/p>\n<p>One exception I\u2019m aware of is <a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/duo-wordpress\/\" rel=\"ugc noopener\">Duo Security<\/a>. If you\u2019re using this plugin, you should install the <a target=\"_blank\" href=\"https:\/\/github.com\/johnbillion\/user-switching-duo-security\" rel=\"nofollow ugc noopener\">User Switching for Duo Security<\/a> add-on plugin which will prevent the two-factor authentication prompt from appearing when you switch between users.<\/p>\n<\/dd>\n<dt id=\"what%20capability%20does%20a%20user%20need%20in%20order%20to%20switch%20accounts%3F\">\n<h3>What capability does a user need in order to switch accounts?<\/h3>\n<\/dt>\n<dd>\n<p>A user needs the <code>edit_users<\/code> capability in order to switch user accounts. By default only Administrators have this capability, and with Multisite enabled only Super Admins have this capability.<\/p>\n<p>Specifically, a user needs the ability to edit the target user in order to switch to them. This means if you have custom user capability mapping in place which uses the <code>edit_users<\/code> or <code>edit_user<\/code> capabilities to affect ability of users to edit others, then User Switching should respect that.<\/p>\n<\/dd>\n<dt id=\"can%20regular%20admins%20on%20multisite%20installations%20switch%20accounts%3F\">\n<h3>Can regular admins on Multisite installations switch accounts?<\/h3>\n<\/dt>\n<dd>\n<p>No. This can be enabled though by installing the <a target=\"_blank\" href=\"https:\/\/github.com\/johnbillion\/user-switching-for-regular-admins\" rel=\"nofollow ugc noopener\">User Switching for Regular Admins<\/a> plugin.<\/p>\n<\/dd>\n<dt id=\"can%20the%20ability%20to%20switch%20accounts%20be%20granted%20to%20other%20users%20or%20roles%3F\">\n<h3>Can the ability to switch accounts be granted to other users or roles?<\/h3>\n<\/dt>\n<dd>\n<p>Yes. The <code>switch_users<\/code> meta capability can be explicitly granted to a user or a role to allow them to switch users regardless of whether or not they have the <code>edit_users<\/code> capability. For practical purposes, the user or role will also need the <code>list_users<\/code> capability so they can access the Users menu in the WordPress admin area.<\/p>\n<pre><code>add_filter( 'user_has_cap', function( $allcaps, $caps, $args, $user ) {\n    if ( 'switch_to_user' === $args[0] ) {\n        if ( my_condition( $user ) ) {\n            $allcaps['switch_users'] = true;\n        }\n    }\n    return $allcaps;\n}, 9, 4 );\n<\/code><\/pre>\n<p>Note that this needs to happen before User Switching\u2019s own capability filtering, hence the priority of <code>9<\/code>.<\/p>\n<\/dd>\n<dt id=\"can%20the%20ability%20to%20switch%20accounts%20be%20denied%20from%20users%3F\">\n<h3>Can the ability to switch accounts be denied from users?<\/h3>\n<\/dt>\n<dd>\n<p>Yes. User capabilities in WordPress can be set to <code>false<\/code> to deny them from a user. Denying the <code>switch_users<\/code> capability prevents the user from switching users, even if they have the <code>edit_users<\/code> capability.<\/p>\n<pre><code>add_filter( 'user_has_cap', function( $allcaps, $caps, $args, $user ) {\n    if ( 'switch_to_user' === $args[0] ) {\n        if ( my_condition( $user ) ) {\n            $allcaps['switch_users'] = false;\n        }\n    }\n    return $allcaps;\n}, 9, 4 );\n<\/code><\/pre>\n<p>Notes:<\/p>\n<ul>\n<li>This needs to happen before User Switching\u2019s own capability filtering, hence the priority of <code>9<\/code>.<\/li>\n<li>The ID of the target user can be found in <code>$args[2]<\/code>.<\/li>\n<\/ul>\n<\/dd>\n<dt id=\"can%20i%20add%20a%20custom%20%22switch%20to%22%20link%20to%20my%20own%20plugin%20or%20theme%3F\">\n<h3>Can I add a custom \u201cSwitch To\u201d link to my own plugin or theme?<\/h3>\n<\/dt>\n<dd>\n<p>Yes. Use the <code>user_switching::maybe_switch_url()<\/code> method for this. It takes care of authentication and returns a nonce-protected URL for the current user to switch into the provided user account.<\/p>\n<pre><code>if ( method_exists( &#039;user_switching&#039;, &#039;maybe_switch_url&#039; ) ) {\n    $url = user_switching::maybe_switch_url( $target_user );\n    if ( $url ) {\n        printf(\n            &#039;&lt;a href=&quot;https:\/\/wordpress.org\/plugins\/user-switching\/%1$s&quot;&gt;Switch to %2$s&lt;\/a&gt;&#039;,\n            esc_url( $url ),\n            esc_html( $target_user-&gt;display_name )\n        );\n    }\n}\n<\/code><\/pre>\n<p>If you want to specify the URL that the user gets redirected to after switching, add a <code>redirect_to<\/code> parameter to the URL like so:<\/p>\n<pre><code>if ( method_exists( &#039;user_switching&#039;, &#039;maybe_switch_url&#039; ) ) {\n    $url = user_switching::maybe_switch_url( $target_user );\n    if ( $url ) {\n        \/\/ Redirect to the home page after switching:\n        $redirect_to = home_url();\n        printf(\n            &#039;&lt;a href=&quot;https:\/\/wordpress.org\/plugins\/user-switching\/%1$s&quot;&gt;Switch to %2$s&lt;\/a&gt;&#039;,\n            esc_url( add_query_arg(\n                &#039;redirect_to&#039;,\n                rawurlencode( $redirect_to ),\n                $url\n            ) ),\n            esc_html( $target_user-&gt;display_name )\n        );\n    }\n}\n<\/code><\/pre>\n<p>The above code also works for displaying a link to switch back to the original user, but if you want an explicit link for this you can use the following code:<\/p>\n<pre><code>if ( method_exists( &#039;user_switching&#039;, &#039;get_old_user&#039; ) ) {\n    $old_user = user_switching::get_old_user();\n    if ( $old_user ) {\n        printf(\n            &#039;&lt;a href=&quot;https:\/\/wordpress.org\/plugins\/user-switching\/%1$s&quot;&gt;Switch back to %2$s&lt;\/a&gt;&#039;,\n            esc_url( user_switching::switch_back_url( $old_user ) ),\n            esc_html( $old_user-&gt;display_name )\n        );\n    }\n}\n<\/code><\/pre>\n<\/dd>\n<dt id=\"can%20i%20determine%20whether%20the%20current%20user%20switched%20into%20their%20account%3F\">\n<h3>Can I determine whether the current user switched into their account?<\/h3>\n<\/dt>\n<dd>\n<p>Yes. Use the <code>current_user_switched()<\/code> function for this. If the current user switched into their account from another then it returns a <code>WP_User<\/code> object for their originating user, otherwise it returns false.<\/p>\n<pre><code>if ( function_exists( 'current_user_switched' ) ) {\n    $switched_user = current_user_switched();\n    if ( $switched_user ) {\n        \/\/ User is logged in and has switched into their account.\n        \/\/ $switched_user is the WP_User object for their originating user.\n    }\n}\n<\/code><\/pre>\n<\/dd>\n<dt id=\"can%20i%20log%20each%20time%20a%20user%20switches%20to%20another%20account%3F\">\n<h3>Can I log each time a user switches to another account?<\/h3>\n<\/dt>\n<dd>\n<p>You can install an audit trail plugin such as <a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/simple-history\/\" rel=\"ugc noopener\">Simple History<\/a>, <a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/wp-security-audit-log\/\" rel=\"ugc noopener\">WP Activity Log<\/a>, or <a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/stream\/\" rel=\"ugc noopener\">Stream<\/a>, all of which have built-in support for User Switching and all of which log an entry when a user switches into another account.<\/p>\n<\/dd>\n<dt id=\"does%20this%20plugin%20allow%20a%20user%20to%20frame%20another%20user%20for%20an%20action%3F\">\n<h3>Does this plugin allow a user to frame another user for an action?<\/h3>\n<\/dt>\n<dd>\n<p>Potentially yes, but User Switching includes some safety protections for this and there are further precautions you can take as a site administrator:<\/p>\n<ul>\n<li>You can install an audit trail plugin such as <a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/simple-history\/\" rel=\"ugc noopener\">Simple History<\/a>, <a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/wp-security-audit-log\/\" rel=\"ugc noopener\">WP Activity Log<\/a>, or <a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/stream\/\" rel=\"ugc noopener\">Stream<\/a>, all of which have built-in support for User Switching and all of which log an entry when a user switches into another account.<\/li>\n<li>User Switching stores the ID of the originating user in the new WordPress user session for the user they switch to. Although this session does not persist by default when they subsequently switch back, there will be a record of this ID if your database server has query logging enabled.<\/li>\n<li>User Switching stores the login name of the originating user in an authentication cookie (see the Privacy Statement for more information). If your server access logs store cookie data, there will be a record of this login name (along with the IP address) for each access request.<\/li>\n<li>User Switching triggers an action when a user switches account, switches off, or switches back (see below). You can use these actions to perform additional logging for safety purposes depending on your requirements.<\/li>\n<\/ul>\n<p>One or more of the above should allow you to correlate an action with the originating user when a user switches account, should you need to.<\/p>\n<p>Bear in mind that even without the User Switching plugin in use, any user who has the ability to edit another user can still frame another user for an action by, for example, changing their password and manually logging into that account. If you are concerned about users abusing others, you should take great care when granting users administrative rights.<\/p>\n<\/dd>\n<dt id=\"does%20this%20plugin%20warn%20me%20if%20i%20attempt%20to%20switch%20into%20an%20account%20which%20somebody%20else%20is%20already%20switched%20into%3F\">\n<h3>Does this plugin warn me if I attempt to switch into an account which somebody else is already switched into?<\/h3>\n<\/dt>\n<dd>\n<p>Yes. When this happens you\u2019ll be shown a prompt asking you to confirm that you would like to continue switching to the affected account.<\/p>\n<p>This feature is useful if you have multiple users on your site who may be switching into other user accounts at the same time, for example a team of support agents.<\/p>\n<\/dd>\n<dt id=\"can%20i%20switch%20users%20directly%20from%20the%20admin%20toolbar%3F\">\n<h3>Can I switch users directly from the admin toolbar?<\/h3>\n<\/dt>\n<dd>\n<p>Yes, there\u2019s a third party add-on plugin for this: <a target=\"_blank\" href=\"https:\/\/wordpress.org\/plugins\/admin-bar-user-switching\/\" rel=\"ugc noopener\">Admin Bar User Switching<\/a>.<\/p>\n<\/dd>\n<dt id=\"are%20any%20plugin%20actions%20called%20when%20a%20user%20switches%20account%3F\">\n<h3>Are any plugin actions called when a user switches account?<\/h3>\n<\/dt>\n<dd>\n<p>Yes. When a user switches to another account, the <code>switch_to_user<\/code> hook is called:<\/p>\n<pre><code>\/**\n * Fires when a user switches to another user account.\n *\n * @since 0.6.0\n * @since 1.4.0 The `$new_token` and `$old_token` parameters were added.\n *\n * @param int    $user_id     The ID of the user being switched to.\n * @param int    $old_user_id The ID of the user being switched from.\n * @param string $new_token   The token of the session of the user being switched to. Can be an empty string\n *                            or a token for a session that may or may not still be valid.\n * @param string $old_token   The token of the session of the user being switched from.\n *\/\ndo_action( 'switch_to_user', $user_id, $old_user_id, $new_token, $old_token );\n<\/code><\/pre>\n<p>When a user switches back to their originating account, the <code>switch_back_user<\/code> hook is called:<\/p>\n<pre><code>\/**\n * Fires when a user switches back to their originating account.\n *\n * @since 0.6.0\n * @since 1.4.0 The `$new_token` and `$old_token` parameters were added.\n *\n * @param int       $user_id     The ID of the user being switched back to.\n * @param int|false $old_user_id The ID of the user being switched from, or false if the user is switching back\n *                               after having been switched off.\n * @param string    $new_token   The token of the session of the user being switched to. Can be an empty string\n *                               or a token for a session that may or may not still be valid.\n * @param string    $old_token   The token of the session of the user being switched from.\n *\/\ndo_action( 'switch_back_user', $user_id, $old_user_id, $new_token, $old_token );\n<\/code><\/pre>\n<p>When a user switches off, the <code>switch_off_user<\/code> hook is called:<\/p>\n<pre><code>\/**\n * Fires when a user switches off.\n *\n * @since 0.6.0\n * @since 1.4.0 The `$old_token` parameter was added.\n *\n * @param int    $old_user_id The ID of the user switching off.\n * @param string $old_token   The token of the session of the user switching off.\n *\/\ndo_action( 'switch_off_user', $old_user_id, $old_token );\n<\/code><\/pre>\n<p>When a user switches to another account, switches off, or switches back, the <code>user_switching_redirect_to<\/code> filter is applied to the location that they get redirected to:<\/p>\n<pre><code>\/**\n * Filters the redirect location after a user switches to another account or switches off.\n *\n * @since 1.7.0\n *\n * @param string       $redirect_to   The target redirect location, or an empty string if none is specified.\n * @param string|null  $redirect_type The redirect type, see the `user_switching::REDIRECT_*` constants.\n * @param WP_User|null $new_user      The user being switched to, or null if there is none.\n * @param WP_User|null $old_user      The user being switched from, or null if there is none.\n *\/\nreturn apply_filters( 'user_switching_redirect_to', $redirect_to, $redirect_type, $new_user, $old_user );\n<\/code><\/pre>\n<p>In addition, User Switching respects the following filters from WordPress core when appropriate:<\/p>\n<ul>\n<li><code>login_redirect<\/code> when switching to another user.<\/li>\n<li><code>logout_redirect<\/code> when switching off.<\/li>\n<\/ul>\n<\/dd>\n<dt id=\"how%20can%20i%20report%20a%20security%20bug%3F\">\n<h3>How can I report a security bug?<\/h3>\n<\/dt>\n<dd>\n<p><a target=\"_blank\" href=\"https:\/\/patchstack.com\/database\/vdp\/user-switching\" rel=\"nofollow ugc noopener\">You can report security bugs through the official User Switching Vulnerability Disclosure Program on Patchstack<\/a>. The Patchstack team helps validate, triage, and handle any security vulnerabilities.<\/p>\n<\/dd>\n<dt id=\"do%20you%20accept%20donations%3F\">\n<h3>Do you accept donations?<\/h3>\n<\/dt>\n<dd>\n<p><a target=\"_blank\" href=\"https:\/\/github.com\/sponsors\/johnbillion\" rel=\"nofollow ugc noopener\">I am accepting sponsorships via the GitHub Sponsors program<\/a> and any support you can give will help me maintain this plugin and keep it free for everyone.<\/p>\n<\/dd>\n<\/dl>\n<\/div>\n<div id=\"tab-reviews\" class=\"plugin-reviews section\">\n<h2 id=\"reviews-header\">Reviews<\/h2>\n<div class=\"plugin-reviews\">\n<article class=\"plugin-review\">\n<div class=\"review-avatar\">\n\t\t\t\t\t\t<img decoding=\"async\" alt=\"\" src=\"https:\/\/secure.gravatar.com\/avatar\/c235e7c6c7def7686e18cfb13934fb82e62ab0c7adc5832899aaacda0bbb0ad0?s=60&amp;d=retro&amp;r=g\" srcset=\"https:\/\/secure.gravatar.com\/avatar\/c235e7c6c7def7686e18cfb13934fb82e62ab0c7adc5832899aaacda0bbb0ad0?s=120&amp;d=retro&amp;r=g 2x\" class=\"avatar avatar-60 photo\" height=\"60\" width=\"60\">\t\t\t\t\t<\/div>\n<div class=\"review\">\n<header>\n<div class=\"header-top\">\n<div class=\"wporg-ratings\" aria-label=\"5 out of 5 stars\" data-title-template=\"%s out of 5 stars\" data-rating=\"5\" style=\"color:#ffb900;\"><span class=\"dashicons dashicons-star-filled\"><\/span><span class=\"dashicons dashicons-star-filled\"><\/span><span class=\"dashicons dashicons-star-filled\"><\/span><span class=\"dashicons dashicons-star-filled\"><\/span><span class=\"dashicons dashicons-star-filled\"><\/span><\/div>\n<h3 class=\"review-title\"><a target=\"_blank\" class=\"url\" href=\"https:\/\/wordpress.org\/support\/topic\/perfect-simple-user-switch-plugin\/\" rel=\"noopener\">Perfect simple user switch plugin<\/a><\/h3>\n<\/p><\/div>\n<div class=\"header-bottom\">\n\t\t\t\t\t\t\t\t<span class=\"review-author author vcard\"><a target=\"_blank\" href=\"https:\/\/profiles.wordpress.org\/ivijanstefan\/\" title=\"Posts by Ivijan-Stefan Stipic\" rel=\"author noopener\">Ivijan-Stefan Stipic<\/a><\/span><br \/>\n\t\t\t\t\t\t\t\t<span class=\"review-date\">December 6, 2024<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n<\/header>\n<div class=\"review-content\">I integrate this plugin with BuddyBoss, WooCommerce, and some of my custom dashboards. It\u2019s a very handy plugin and has saved me a lot of time by providing features that I would otherwise have to develop from scratch.<\/div>\n<\/p><\/div>\n<\/article>\n<article class=\"plugin-review\">\n<div class=\"review-avatar\">\n\t\t\t\t\t\t<img decoding=\"async\" alt=\"\" src=\"https:\/\/secure.gravatar.com\/avatar\/a5adf2738ff850fa906c446d519fac0398471d2d9eebf2548e87fa2f808bd70f?s=60&amp;d=retro&amp;r=g\" srcset=\"https:\/\/secure.gravatar.com\/avatar\/a5adf2738ff850fa906c446d519fac0398471d2d9eebf2548e87fa2f808bd70f?s=120&amp;d=retro&amp;r=g 2x\" class=\"avatar avatar-60 photo\" height=\"60\" width=\"60\">\t\t\t\t\t<\/div>\n<div class=\"review\">\n<header>\n<div class=\"header-top\">\n<div class=\"wporg-ratings\" aria-label=\"5 out of 5 stars\" data-title-template=\"%s out of 5 stars\" data-rating=\"5\" style=\"color:#ffb900;\"><span class=\"dashicons dashicons-star-filled\"><\/span><span class=\"dashicons dashicons-star-filled\"><\/span><span class=\"dashicons dashicons-star-filled\"><\/span><span class=\"dashicons dashicons-star-filled\"><\/span><span class=\"dashicons dashicons-star-filled\"><\/span><\/div>\n<h3 class=\"review-title\"><a target=\"_blank\" class=\"url\" href=\"https:\/\/wordpress.org\/support\/topic\/super-helper\/\" rel=\"noopener\">Super helper<\/a><\/h3>\n<\/p><\/div>\n<div class=\"header-bottom\">\n\t\t\t\t\t\t\t\t<span class=\"review-author author vcard\"><a target=\"_blank\" href=\"https:\/\/profiles.wordpress.org\/alexgff\/\" title=\"Posts by Alex Gor\" rel=\"author noopener\">Alex Gor<\/a><\/span><br \/>\n\t\t\t\t\t\t\t\t<span class=\"review-date\">November 10, 2024<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n<\/header>\n<div class=\"review-content\">Very happy with this plugin! It\u2019s simple to use and works flawlessly, making my tasks easier and more efficient.<\/div>\n<\/p><\/div>\n<\/article>\n<article class=\"plugin-review\">\n<div class=\"review-avatar\">\n\t\t\t\t\t\t<img decoding=\"async\" alt=\"\" src=\"https:\/\/secure.gravatar.com\/avatar\/3c25eb083e31d6ca6647b933306424813cfeb9bf4d7aa529ad177d095028165c?s=60&amp;d=retro&amp;r=g\" srcset=\"https:\/\/secure.gravatar.com\/avatar\/3c25eb083e31d6ca6647b933306424813cfeb9bf4d7aa529ad177d095028165c?s=120&amp;d=retro&amp;r=g 2x\" class=\"avatar avatar-60 photo\" height=\"60\" width=\"60\">\t\t\t\t\t<\/div>\n<div class=\"review\">\n<header>\n<div class=\"header-top\">\n<div class=\"wporg-ratings\" aria-label=\"5 out of 5 stars\" data-title-template=\"%s out of 5 stars\" data-rating=\"5\" style=\"color:#ffb900;\"><span class=\"dashicons dashicons-star-filled\"><\/span><span class=\"dashicons dashicons-star-filled\"><\/span><span class=\"dashicons dashicons-star-filled\"><\/span><span class=\"dashicons dashicons-star-filled\"><\/span><span class=\"dashicons dashicons-star-filled\"><\/span><\/div>\n<h3 class=\"review-title\"><a target=\"_blank\" class=\"url\" href=\"https:\/\/wordpress.org\/support\/topic\/excellent-plugin-smooth-and-reliable-performance\/\" rel=\"noopener\">Excellent Plugin \u2013 Smooth and Reliable Performance!<\/a><\/h3>\n<\/p><\/div>\n<div class=\"header-bottom\">\n\t\t\t\t\t\t\t\t<span class=\"review-author author vcard\"><a target=\"_blank\" href=\"https:\/\/profiles.wordpress.org\/amingor\/\" title=\"Posts by amingor\" rel=\"author noopener\">amingor<\/a><\/span><br \/>\n\t\t\t\t\t\t\t\t<span class=\"review-date\">November 10, 2024<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n<\/header>\n<div class=\"review-content\">I\u2019m very pleased with how this plugin works! It\u2019s easy to set up, runs smoothly, and delivers exactly what it promises. The functionality has been reliable, with no issues or glitches so far. It\u2019s become an essential part of my workflow \u2013 highly recommended!<\/div>\n<\/p><\/div>\n<\/article>\n<article class=\"plugin-review\">\n<div class=\"review-avatar\">\n\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/secure.gravatar.com\/avatar\/58a965bf457978ccc1ccc7bfb72e6381b2e17948b56b83d020c62fe68772ea25?s=60&amp;d=retro&amp;r=g\" srcset=\"https:\/\/secure.gravatar.com\/avatar\/58a965bf457978ccc1ccc7bfb72e6381b2e17948b56b83d020c62fe68772ea25?s=120&amp;d=retro&amp;r=g 2x\" class=\"avatar avatar-60 photo\" height=\"60\" width=\"60\">\t\t\t\t\t<\/div>\n<div class=\"review\">\n<header>\n<div class=\"header-top\">\n<div class=\"wporg-ratings\" aria-label=\"5 out of 5 stars\" data-title-template=\"%s out of 5 stars\" data-rating=\"5\" style=\"color:#ffb900;\"><span class=\"dashicons dashicons-star-filled\"><\/span><span class=\"dashicons dashicons-star-filled\"><\/span><span class=\"dashicons dashicons-star-filled\"><\/span><span class=\"dashicons dashicons-star-filled\"><\/span><span class=\"dashicons dashicons-star-filled\"><\/span><\/div>\n<h3 class=\"review-title\"><a target=\"_blank\" class=\"url\" href=\"https:\/\/wordpress.org\/support\/topic\/easy-to-use-and-well-written\/\" rel=\"noopener\">Easy to use and well written<\/a><\/h3>\n<\/p><\/div>\n<div class=\"header-bottom\">\n\t\t\t\t\t\t\t\t<span class=\"review-author author vcard\"><a target=\"_blank\" href=\"https:\/\/profiles.wordpress.org\/wpmarkuk\/\" title=\"Posts by Mark Wilkinson\" rel=\"author noopener\">Mark Wilkinson<\/a><\/span><br \/>\n\t\t\t\t\t\t\t\t<span class=\"review-date\">October 21, 2024<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n<\/header>\n<div class=\"review-content\">An excellent plugin which is very easy to use and a must for sites with multiple types of users when you need to test things.<\/p>\n<p>Well written too and good for developers to work with if needed.<\/p>\n<p>Highly recommended.<\/p><\/div>\n<\/p><\/div>\n<\/article>\n<article class=\"plugin-review\">\n<div class=\"review-avatar\">\n\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/secure.gravatar.com\/avatar\/3150b47c2b98cb72c32b16059a3d4cfbee2d313c9f85930a2bec31aecb1c44a6?s=60&amp;d=retro&amp;r=g\" srcset=\"https:\/\/secure.gravatar.com\/avatar\/3150b47c2b98cb72c32b16059a3d4cfbee2d313c9f85930a2bec31aecb1c44a6?s=120&amp;d=retro&amp;r=g 2x\" class=\"avatar avatar-60 photo\" height=\"60\" width=\"60\">\t\t\t\t\t<\/div>\n<div class=\"review\">\n<header>\n<div class=\"header-top\">\n<div class=\"wporg-ratings\" aria-label=\"5 out of 5 stars\" data-title-template=\"%s out of 5 stars\" data-rating=\"5\" style=\"color:#ffb900;\"><span class=\"dashicons dashicons-star-filled\"><\/span><span class=\"dashicons dashicons-star-filled\"><\/span><span class=\"dashicons dashicons-star-filled\"><\/span><span class=\"dashicons dashicons-star-filled\"><\/span><span class=\"dashicons dashicons-star-filled\"><\/span><\/div>\n<h3 class=\"review-title\"><a target=\"_blank\" class=\"url\" href=\"https:\/\/wordpress.org\/support\/topic\/simple-and-effective-1587\/\" rel=\"noopener\">Simple and Effective<\/a><\/h3>\n<\/p><\/div>\n<div class=\"header-bottom\">\n\t\t\t\t\t\t\t\t<span class=\"review-author author vcard\"><a target=\"_blank\" href=\"https:\/\/profiles.wordpress.org\/username12\/\" title=\"Posts by SSVapes\" rel=\"author noopener\">SSVapes<\/a><\/span><br \/>\n\t\t\t\t\t\t\t\t<span class=\"review-date\">September 19, 2024<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n<\/header>\n<div class=\"review-content\">I can\u2019t praise this plugin enough. It\u2019s an invaluable tool for admins, used for everything from troubleshooting to placing orders in a customer\u2019s name. Huge thanks to the plugin author for creating such a useful tool for the community.<\/p>\n<p>NOTE: I have not used this plugin with Cloudflare. Some users report \u2018bad gateway\u2019 error.<\/p><\/div>\n<\/p><\/div>\n<\/article>\n<article class=\"plugin-review\">\n<div class=\"review-avatar\">\n\t\t\t\t\t\t<img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/secure.gravatar.com\/avatar\/99d1be408441e14c9ff685cb243f4ee25f542d809dc3359f8cf8f15828dddd4e?s=60&amp;d=retro&amp;r=g\" srcset=\"https:\/\/secure.gravatar.com\/avatar\/99d1be408441e14c9ff685cb243f4ee25f542d809dc3359f8cf8f15828dddd4e?s=120&amp;d=retro&amp;r=g 2x\" class=\"avatar avatar-60 photo\" height=\"60\" width=\"60\">\t\t\t\t\t<\/div>\n<div class=\"review\">\n<header>\n<div class=\"header-top\">\n<div class=\"wporg-ratings\" aria-label=\"5 out of 5 stars\" data-title-template=\"%s out of 5 stars\" data-rating=\"5\" style=\"color:#ffb900;\"><span class=\"dashicons dashicons-star-filled\"><\/span><span class=\"dashicons dashicons-star-filled\"><\/span><span class=\"dashicons dashicons-star-filled\"><\/span><span class=\"dashicons dashicons-star-filled\"><\/span><span class=\"dashicons dashicons-star-filled\"><\/span><\/div>\n<h3 class=\"review-title\"><a target=\"_blank\" class=\"url\" href=\"https:\/\/wordpress.org\/support\/topic\/i-use-this-plugin-on-every-site-2\/\" rel=\"noopener\">I use this plugin on every site<\/a><\/h3>\n<\/p><\/div>\n<div class=\"header-bottom\">\n\t\t\t\t\t\t\t\t<span class=\"review-author author vcard\"><a target=\"_blank\" href=\"https:\/\/profiles.wordpress.org\/gelform\/\" title=\"Posts by gelform\" rel=\"author noopener\">gelform<\/a><\/span><br \/>\n\t\t\t\t\t\t\t\t<span class=\"review-date\">August 15, 2024<\/span>\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n<\/header>\n<div class=\"review-content\">Works flawlessly. Has for years. I install this on every site with users. Nothing beats seeing exactly what they see.<\/div>\n<\/p><\/div>\n<\/article><\/div>\n<p>\t\t<a target=\"_blank\" class=\"reviews-link\" href=\"https:\/\/wordpress.org\/support\/plugin\/user-switching\/reviews\/\" rel=\"noopener\"><br \/>\n\t\t\tRead all 235 reviews\t\t<\/a><\/div>\n<div id=\"tab-developers\" class=\"plugin-developers section\">\n<h2 id=\"developers-header\">Contributors &amp; Developers<\/h2>\n<div class=\"plugin-contributors\">\n<p>\u201cUser Switching\u201d is open source software. The following people have contributed to this plugin.<\/p>\n<p><span class=\"screen-reader-text\">Contributors<\/span><\/p>\n<ul id=\"contributors-list\" class=\"contributors-list\">\n<li>\n\t\t\t\t<img loading=\"lazy\" decoding=\"async\" alt=\"\" src=\"https:\/\/secure.gravatar.com\/avatar\/1cd92b733f29199b4f5ee7e3cd2691282a0a13d50f67c4fa0b5296d8b742833f?s=32&amp;d=mm&amp;r=g\" srcset=\"https:\/\/secure.gravatar.com\/avatar\/1cd92b733f29199b4f5ee7e3cd2691282a0a13d50f67c4fa0b5296d8b742833f?s=64&amp;d=mm&amp;r=g 2x\" class=\"avatar avatar-32 photo\" height=\"32\" width=\"32\">\t\t\t\t<a target=\"_blank\" href=\"https:\/\/profiles.wordpress.org\/johnbillion\/\" rel=\"noopener\"><br \/>\n\t\t\t\t\tJohn Blackbourn\t\t\t\t<\/a>\n\t\t\t<\/li>\n<\/ul><\/div>\n<div class=\"plugin-development\">\n<p>\u201cUser Switching\u201d has been translated into 48 locales. Thank you to <a target=\"_blank\" href=\"https:\/\/translate.wordpress.org\/projects\/wp-plugins\/user-switching\/contributors\" rel=\"noopener\">the translators<\/a> for their contributions.<\/p>\n<p><a target=\"_blank\" href=\"https:\/\/translate.wordpress.org\/projects\/wp-plugins\/user-switching\" rel=\"noopener\">Translate \u201cUser Switching\u201d into your language.<\/a><\/p>\n<h3>Interested in development?<\/h3>\n<p><a target=\"_blank\" href=\"https:\/\/plugins.trac.wordpress.org\/browser\/user-switching\/\" rel=\"noopener\" class=\"broken_link\">Browse the code<\/a>, check out the <a target=\"_blank\" href=\"https:\/\/plugins.svn.wordpress.org\/user-switching\/\" rel=\"noopener\">SVN repository<\/a>, or subscribe to the <a target=\"_blank\" href=\"https:\/\/plugins.trac.wordpress.org\/log\/user-switching\/\" rel=\"noopener\" class=\"broken_link\">development log<\/a> by <a target=\"_blank\" href=\"https:\/\/plugins.trac.wordpress.org\/log\/user-switching\/?limit=100&amp;mode=stop_on_copy&amp;format=rss\" rel=\"noopener\" class=\"broken_link\">RSS<\/a>.<\/p>\n<\/div>\n<\/div>\n<div id=\"tab-changelog\" class=\"plugin-changelog section\">\n<h2 id=\"changelog-header\">Changelog<\/h2>\n<h3>1.9.1 (5 December 2024)<\/h3>\n<ul>\n<li>Fixes the <code>wp_login<\/code> and <code>wp_logout<\/code> parameter usage which could cause a fatal error when passed an unexpected value.<\/li>\n<\/ul>\n<h3>1.9.0 (21 November 2024)<\/h3>\n<ul>\n<li>Introduces a confirmation message when a user attempts to switch into an account which somebody else is already switched into. Helpful for teams of support engineers who switch into customer accounts.<\/li>\n<li>Confirms support for WordPress 6.7.<\/li>\n<li>Confirms support for PHP 8.4.<\/li>\n<li>Various code quality improvements.<\/li>\n<\/ul>\n<h3>1.8.0 (22 July 2024)<\/h3>\n<ul>\n<li>Adds a \u2018Switch back\u2019 link to some access denied messages within the admin area.<\/li>\n<li>Confirms support for WordPress 6.6.<\/li>\n<\/ul>\n<h3>1.7.3 (21 February 2024)<\/h3>\n<ul>\n<li>Confirms support for PHP 8.3<\/li>\n<li>Fixes compatibility with BuddyPress version 12<\/li>\n<li>Adds configuration for the Live Preview feature on wordpress.org<\/li>\n<\/ul>\n<h3>1.7.2 (16 November 2023)<\/h3>\n<ul>\n<li>Confirm support for WordPress 6.4<\/li>\n<li>Reinstate the missing plugin readme file<\/li>\n<\/ul>\n<h3>1.7.1 (16 November 2023)<\/h3>\n<ul>\n<li>Fix the redirect type parameter passed to the <code>user_switching_redirect_to<\/code> filter<\/li>\n<li>Increase the minimum supported version of PHP to 7.4<\/li>\n<\/ul>\n<h3>1.7.0 (30 July 2022)<\/h3>\n<ul>\n<li>Redirect to the current post, term, user, or comment being edited when switching off<\/li>\n<li>Clean up some user-facing messages<\/li>\n<li>Apply basic styling to the Switch Back link that appears in the footer<\/li>\n<li>Use a better placement for the Switch To menu on bbPress profiles<\/li>\n<li>Use a more appropriate HTTP response code if switching off fails<\/li>\n<li>Exclude <code>.editorconfig<\/code> from dist ZIP<\/li>\n<\/ul>\n<h3>1.6.0 (24 June 2022)<\/h3>\n<ul>\n<li>Add a \u2018Switch To\u2019 link to the order screen in WooCommerce<\/li>\n<li>Add a \u2018Switch back\u2019 link to the My Account screen and the login screen in WooCommerce<\/li>\n<\/ul>\n<h3>1.5.8 (2 October 2021)<\/h3>\n<ul>\n<li>Avoid a fatal if the <code>interim-login<\/code> query parameter is present on a page other than wp-login.php.<\/li>\n<\/ul>\n<h3>1.5.7 (12 May 2021)<\/h3>\n<ul>\n<li>Fix some issues that could lead to PHP errors given a malformed cookie.<\/li>\n<li>Fix documentation.<\/li>\n<\/ul>\n<h3>Earlier versions<\/h3>\n<p>For the changelog of earlier versions, <a target=\"_blank\" href=\"https:\/\/github.com\/johnbillion\/user-switching\/releases\" rel=\"nofollow ugc noopener\">please refer to the releases page on GitHub<\/a>.<\/p>\n<\/div><\/div>\n<p><!-- .entry-content --><\/p>\n<p>\t<!-- .entry-meta --><br \/>\n<\/article>\n<p><br \/>\n<br \/><a href=\"https:\/\/wordpress.org\/plugins\/user-switching\/\" target=\"_blank\" rel=\"noopener\">Source link <\/a><\/p>","protected":false},"excerpt":{"rendered":"<p>User Switching By John Blackbourn Download Live Preview Details Reviews Development Support Description This plugin allows you to quickly swap between user accounts in WordPress at the click of a button. You\u2019ll be instantly logged out and logged in as your desired user. This is handy for for helping customers on WooCommerce sites, membership sites, [&hellip;]<\/p>","protected":false},"author":43,"featured_media":3147,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"give_campaign_id":0,"footnotes":""},"categories":[1933,39,40],"tags":[2092,2091],"class_list":["post-3146","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-community-plugin","category-lite-version","category-wp-plugin-solution","tag-switching","tag-user"],"acf":[],"fifu_image_url":"https:\/\/ps.w.org\/user-switching\/assets\/banner-772x250.png?rev=2204929","_links":{"self":[{"href":"https:\/\/s-o-s.net\/en_gb\/wp-json\/wp\/v2\/posts\/3146","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/s-o-s.net\/en_gb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/s-o-s.net\/en_gb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/s-o-s.net\/en_gb\/wp-json\/wp\/v2\/users\/43"}],"replies":[{"embeddable":true,"href":"https:\/\/s-o-s.net\/en_gb\/wp-json\/wp\/v2\/comments?post=3146"}],"version-history":[{"count":0,"href":"https:\/\/s-o-s.net\/en_gb\/wp-json\/wp\/v2\/posts\/3146\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/s-o-s.net\/en_gb\/wp-json\/wp\/v2\/media\/3147"}],"wp:attachment":[{"href":"https:\/\/s-o-s.net\/en_gb\/wp-json\/wp\/v2\/media?parent=3146"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/s-o-s.net\/en_gb\/wp-json\/wp\/v2\/categories?post=3146"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/s-o-s.net\/en_gb\/wp-json\/wp\/v2\/tags?post=3146"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}