Put this hook into wagtail_hooks.py file of your Wagtail CMS app.
from wagtail.wagtailcore import hooks
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!
Tags: django, wagtail, django_planet
If you enter anything in this field your comment will be treated as spam:
Soon I'll be launching online programming courses project. There going to be loads of web and mobile related video tutorials available.
If you want to get notified when it's launched and receive a tutorial or two from me, please subscribe via form below: