Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/codelight-eu/codelight-wp-additional-editor-capabilities/archive/refs/heads/master.zipOn Packagist as codelight-eu/wp-additional-editor-capabilities:
composer require codelight-eu/wp-additional-editor-capabilitieswp-additional-editor-capabilities
Allow less technical clients to manage their Wordpress site without all the bloat in admin interface by giving them a slightly enhanced Editor/Shop Manager role.
This plugin grants the Editor role permissions to edit (non-admin) users and gives them access to Appearance menu items. For WooCommerce users, the Shop Manager role is granted access to Appearance menu as well. This should be everything a non-technical client needs to manage their site, with a pleasantly clean and empty admin interface.
For even better results, combine with WP-Cleanup.
Note that this plugin has not been tested thoroughly - patches and issues are welcome.
Details
By default, the Editor role is given the following capabilities:
'list_users',
'add_users',
'create_users',
'edit_users',
'promote_users',
'remove_users',
'edit_theme_options'
To edit the given capabilities, use the _'cl_editorcapabilities' filter.
By default, the Shop Manager role is given the following capabilities:
'edit_theme_options'
To edit the given capabilities, use the _'cl_shop_managercapabilities' filter.
Note that the shop manager / editor are not given the capability to delete users.