Hide custom page in navigation without blocking access

I need to remove a custom page from the navigation but can't use canAccess() because users still need to access it (via a button in my dashboard).

Is there any way to do this other than with CSS?

Cheers
Solution
shouldRegisterNavigation()
Was this page helpful?