Hide the Edit With Elementor Button for User Roles
If you are using Elementor, there will be an “Edit With Elementor” button on your post editing screen. This allows users to edit the post with the Elementor editor rather than the normal WordPress editor. This button is usually placed in the top left corner of the block editor.
One of our users wanted to hide this button for specific users.
Thanks to the PublishPress Capabilities plugin, it is possible to hide the Elementor button only for a specific user role.
PublishPress Capabilities can hide any element in the WordPress editor. We're going to use that feature to answer our customer's question. This screenshot below shows the “Edit with Elementor” button.