Home › Forums › WC Vendors Pro Support › user role- Editor cannot access WordPress Dashboard when Wcvendor Pro Is Active › Reply To: user role- Editor cannot access WordPress Dashboard when Wcvendor Pro Is Active
Hello,
Since the Editor role has the same privileges (minus a few) that vendors do- no I actually am not certain how to write in an exception for editors.
And Idea– the code below will allow access for the Shop Manager role.
You could use this code, and then use a plugin like User Role Editor to add the editor capabilities to the Shop Manager Role.
HOWEVER- please take note that this piece of code must be removed before you update to the Pro version 1.4.0 release (our next major release– not out yet…) – so do not update your Pro to 1.4.0 without first removing this code from your theme/child theme functions.php.
https://gist.github.com/digitalchild/271cc5834b8a42a82c4bb7a4111dc82f#file-functions-php