by default the editor
role should not have access to plugins nor appearance menu. But maybe this roles is already customised in your installation? here is a list of editor default capabilities
via functions.php you can remove everything in the appearance menu like so:
$role_object = get_role( 'editor' );
$role_object->remove_cap( 'edit_theme_options' );
to remove access to plugins you would have to remove some more capabilities i assume. update_plugins
, delete_plugins
and so on…
otherwise you could use a plugin to handle different roles comfortable.
i do use adminimize quite a while.
Related Posts:
- How can I have different groups of editors only allowed to edit certain parent+subpages?
- Programmatically allow a non-author to edit a post based custom meta field
- Limit a user to have access to only specified pages?
- New folder and file permissions are not correct
- Allow member to have access to custom post type only. Permission to only edit their own posts
- wp_update_user not updating
- Is WordPress’ is_user_logged_in() secure?
- Restrict users on multisite WordPress install
- Allow editors access to added plugins
- Temporarily disable user role login and replace with message
- How to filter the role selector?
- how to add custom user capabilities using add_user_meta or something else?
- Allow users to publish child pages of the pages they have access to edit
- Is there a way to set the user Role based on email domain
- Editor and contributor roles not correct after adding function
- pre_get_posts Remove posts based on meta value with ‘post__not_in’
- What is the difference between “create_users” and “add_users” capabilities?
- Access on specific pages in wordpress for a specific user
- How to ‘unpublish’ or ‘hide’ posts when user role changes?
- Can I create users that have access to *some* other users posts instead of all other users posts?
- How to check if a role has a specific capability
- Set default page for user account in admin
- How to remove sticky post capability for a specific user role?
- Hide Specific User Page
- Let new user role to ‘edit_others_posts’ of other user role, not of its own type
- WordPress missing user roles on local dev machine. Live site works fine
- Remove wordpress author’s capability to moderate comments on their own posts
- How do I remove the Other Roles field (from User Role Editor plugin) in wp-admin/user-new.php
- Can you set a role as author?
- Managing Users and Creating Groups [closed]
- How to redirect specific post type with user role
- Allow an editor to change the author
- Parent User and Child User – relate users
- allow non logged in user to upload images in media library
- How to create user specific pages (not user role!)?
- Assigning certain authors to specific editors
- Restrict Access in Admin Panel
- how to remove some permissions from a shop “manager role” in woocommmerce?
- Plugin creation – how to add user rights?
- User restricted only show posts assigned to current user
- Give Editor Access to Custom Theme Options
- Restrict custom post content to specific user
- Hiding custom theme functionality using capabilities
- custom plugin not visible to some user roles
- Hide front-end from every logged out user and redirect them to the default login page
- How to restrict an admin page, if the user is not superadmin?
- Make a single page in WordPress available only for Admin and Subscribers
- Need to block user role from accessing bbPress all together
- How to create a front facing user sign up, log in and profile pages like FoodGawker.Com [closed]
- Could we know who published a post on WordPress?
- Custom Role read_private_posts Not Working
- Infinite redirects at front end if logged in user is not an Admin (Toolset Access)
- Block access to plugins.php for custom role
- Is there a way to allow users with “Subscriber” user role to access media library in backend and frontend
- How to make WP page accessile only to specific user roles
- grant multiple roles access to specific admin menu item
- Blank Screen Edit Page when using Editor Role
- Check what capabilitie(s) an action requires
- Trying to get new role to have edit permissions for custom content type
- WordPress install checking permissions of user id 0
- Force “submit for review” on update?
- used code below to allow Editor access to menus – but change permanent, how do I revert?
- Is it possible to restrict a specific user to edit a specific custom post.
- How to change user role setting in members plugin so that user can only edit his own post?
- How might I enable a user to view Draft pages from a different Author, without the ability to edit?
- How can I hide a category from Contributors in the edit/add new post screen?
- REST API, get user role?
- User registration approval based on role selected
- Hide from specific role the top admin bar new button
- How to allow user to edit post in wordpress
- Where are the WordPress capabilities stored?
- Display user meta by different user role
- Custom user roles for access to specific parts of the site
- How can I add a custom role capability to use in a custom plugin?
- Add a button or radio box that update the user role
- Create custom post with custom user rules
- Reset Roles (or undo role changes on theme change)
- remove wp admin menu by customer user role
- Allow admins to login as other users
- allowing subscriber role to delete their own posts
- Let users edit their role from the frontend
- Show WordPress Plugin Menu(Admin) To Editor
- Is there a capability/User role plugin that lets you specify edit ‘posts’ not ‘custom posts’? [duplicate]
- Give users acces to admin a single post or set up WP network?
- if role is logged in then do something
- Adding a role using Members and Formidable Forms [closed]
- Add a second role when registering programmatically
- WordPress hide any html element by css when user-role
- What would cause wp_insert_user role to work sporadically?
- How can I add capability to multiple roles?
- underscore not allowed in role slug?
- dynamic home page according to role user
- Custom site role cannot access Appearance menu
- Custom Role Allowing Things It Shouldn’t Be
- Frontend view of normal Visitor
- Admin Post List Only Show One Category
- Access to option page by role/capability
- How to give access to the particular page in wordpress for specific username/email NOT roles [closed]
- Hide block of HTML if the users role is a certain role
- Display users by role