The Pro version of PublishPress Capabilities allows you to block access to admin menu links in the Elementor plugin. This is useful because Elementor has limited options for managing who can access the admin screens and important features.
The Elementor plugin is one of the most popular drag-and-drop page builders. With Elementor, you’re editing the site live, and simultaneously see exactly how it looks like. Elementor designs are full-responsive and come with over 40 powerful widgets.
When you first install Elementor, you'll see one top-level menu link, plus at least 9 sub-menus:
- Role Manager
- System Info
- Getting Started
- Get Help
- Custom Fonts
- Custom Icons
- Go Pro
It is possible to control who can access these links by using the PublishPress Capabilities Pro plugin.
- After installing PublishPress Capabilities Pro, go to “Capabilities”, then “Admin Menus” in your WordPress admin area:
- In the top-left corner of this screen, choose the role that you want to edit. In the image below, I'm going to restrict Elementor access for the “Administrator” role. If you do this, I would recommend making a copy of the Administrator role so that one role still has full Elementor access.
- Scroll down and you can enter a red X for any Elementor menu link that you don't want users in the Administrator role to access.
- Click “Save Changes”.
Now when an Administrator logs in to your site, they will not be able to see the Elementor menu links that you have blocked:
This approach works for the core Elementor plugin and can also be used for add-on plugins such as Essential Addons, Premium Addons, and others.