Feb 02, 2017 · Updated: Oct 09, 2019 · by Tim Kamanin
Put this hook into wagtail_hooks.py file of your Wagtail CMS app.
from wagtail.core import hooks @hooks.register('construct_main_menu') def hide_snippets_menu_item(request, menu_items): menu_items[:] = [item for item in menu_items if item.name != 'snippets']
Restart your server and you're done!
Hey, if you've found this useful, please share the post to help other folks find it: