Remove Default Navigation Menu Items

I created my blog plugin. So I do not need to use default blog menu on main navigation. I just want to remove it. But I cannot.

Event::listen('backend.menu.extendItems', function($manager) {
    $manager->removeMainMenuItem('October.Editor', 'editor');
    $manager->removeMainMenuItem('October.Media', 'media');
});

This works for removing Editor and Media section for example. But I do not want to remove those. I am trying to remove Blog and Content sections as you can see below.

Hi @bilal

To remove the ‘Blog’ and ‘Content’ menu items, delete their corresponding blueprint files in the app/blueprints directory. After doing so, run php artisan cache:clear to apply the changes.

Thanks a lot. It works. I did waste my time too much.

hello , i want to this but when i go to app/blueprints i dont find anything related to blogs and cms, instead there only one file .gitkeep.
any idea?

@Yassineafaila If you have RainLab.Blog plugin installed, you can call this to remove the main menu item.

Event::listen('backend.menu.extendItems', function ($manager) {
    $manager->removeMainMenuItem('RainLab.Blog', 'blog');
});

Also, the demo plugin now distributes its blueprints in the actual theme directory (not in the app directory anymore). Switching to a new theme, or creating a blank theme, will completely remove all the blueprints and their menu items.