How to Remove “Edit with Bricks” submenu items from the Toolbar for Editors

In Bricks' "Builder access" settings when access is given to Editor user role (either Edit content or Full access), site editors can access Bricks Templates and Settings via the links under "Edit with Bricks" WP Admin toolbar menu item in addition to being able to edit posts.

Sometimes the requirement could be that editors should be able to edit only individual Posts, Pages etc. but not Bricks settings and Templates.

Adding the following code in child theme's functions.php or a code snippets plugin will do just that:

This is a BricksLabs Pro tutorial.

For full access login below or create your BricksLabs Pro account

Instant access to 390+ Bricks code tutorials with BricksLabs Pro