How To Remove Snippets Menu Item From Wagtail CMS Admin Menu

Feb 02, 2017 · by Tim Kamanin

Put this hook into file of your Wagtail CMS app.

from wagtail.core import hooks

def hide_snippets_menu_item(request, menu_items):
  menu_items[:] = [item for item in menu_items if != 'snippets']

Restart your server and you're done!

Want to get more 🔥 tips like this one?

Subscribe to get notified about new dev tutorials