We have a setting on our plugin that allows you to set a specific capability which the user must have in order to be able to access any “wp-admin” page. You can find it on our plugin Settings > Access Restrictions > Access restriction: Who can access the wp-admin dashboard? > Enter the capability that you want the user to have to be able to access the backend, by default it’s manage_options.
For example, if you only want administrators to access the backend, select a capability that only administrators have, like manage_options.
The recommended values are:
- manage_network for multisite networks, only super admins have this capability
- manage_options for standalone sites, only administrators have this capability