Remove another plugin's main menu items
1
Place the following event listener in your Plugin's boot
method to remove another plugin's menu items:
Event::listen('backend.menu.extendItems', function($manager) {
$manager->removeMainMenuItem('October.Cms', 'cms');
$manager->removeSideMenuItem('October.Cms', 'cms', 'pages');
});
There are no comments yet
Be the first one to comment