How To Remove Snippets Menu Item From Wagtail CMS Admin Menu

02 Feb · by Tim Kamanin · 1 min read

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