The User Switching plugin is a great way to quickly see how Users at different access levels will interact with your site. It’s a necessary plugin for most development environments. (it also fits into our guidelines for extending WordPress for enterprise use)
However, it can also be a great plugin for site admins working on the day-to-day management of their site. For this snippet, we’re connecting the User Switching plugin to WooCommerce orders and allowing site administrators to quickly switch to the User associated with the current order they’re viewing.