Hide menu items


#1

Is there a way (inside a package or core) to hide menu items?

I am trying to toggle a menu item based on a config setting.

I have looked at atom.menu.template but didn’t find anything useful.
Also, the API only has add and update.