Change WordPress user roles and capabilities › Forums › How to or FAQ › Add access to code snippet plugin › Reply To: Add access to code snippet plugin
30/03/2021 at 12:03 #7463
You don’t need to add these snippets to CS plugin. I took them from its source code to show you the possibility to change ‘manage_options’ to any other user capability.
If do not change that, just grant ‘manage_options’ capability to shop manager. It will get access to the ‘Snippets’ admin menu. Also it will get access to all other admin menu items, protected by ‘manage_options’, like ‘Settings’ for example. You can block them using “Admin menu access” add-on included into URE Pro.