User roles not working when switched
-
I’m running a WooCommerce web store with the official Wholesale plugin. This allows me to use different pricing and other store settings when a wholesale customer is logged in. A wholesale customer is identified by way of the WordPress User Role.
When I use the user switching functionality the role of the user is overwritten so the value contained in the WP_User object is incorrect. That breaks the functionality of the Wholesale system.Is there a way the user role can be maintained when switching?
Thanks
Richard
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘User roles not working when switched’ is closed to new replies.