Change WordPress user roles and capabilities › Forums › Restrict or Permit access inside WordPress – how to › Block some links in the top admin menu › Reply To: Block some links in the top admin menu
02/09/2020 at 15:00 #7013
1st option, revoke ‘edit_theme_options’ capability the user role.
If for some reason you wish to leave ‘edit_theme_options’ capability to a role, for access to some menu item under ‘Appearance’ menu for example, then,
2nd option, you can enable “Theme Options” admin menu item using “My The7 -> Show theme options in sidebar” checkbox. After that just block “Theme Options” admin menu item using “Admin menu access” add-on. This will automatically block “Theme Options” top admin menu too.