I created a custom plugin which i want Users who are Editors to be able to use the plugin.
I found a link here to allow access for editors to allow editors to edit menusallow editors to edit menus?
using this code.
$role_object = get_role( 'editor' ); // add $cap capability to this role object $role_object->add_cap( 'edit_theme_options' );
So, is there a possible way i can allow Editors access to my custom added plugins