WooCommerce Prevents Editors From Accessing the Dashboard
-
Hi there!
Woocommerce seems to interfere with the default WordPress login functionality when users with an “Editor” role try to access the Dashboard through https://www.domain.com/wp-admin/
Users with this role (and those who are not Administrators) are being redirected to the https://www.domain.com/myaccount/ page. I think this makes sense for users with the Customer role but not for those who are subscribers or editors.
There is some documentation on WooCommerce to prevent this from happening using the woocommerce_login_redirect function when users with any roles try to access the website through the login page of WooCommerce on the frontend but this filter is not called when users try to access the site through the WP Admin URL (www.domain.com/wp-admin/)
Since Editor users cannot access the Dashboard any more, are there any ways to deactivate this behaviour so websites can work as usual? Any other alternatives or filters?
Thanks so much.
- The topic ‘WooCommerce Prevents Editors From Accessing the Dashboard’ is closed to new replies.