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()
Jump to solution
2 Replies
Solution
Dennis Koch
Dennis Koch11mo ago
shouldRegisterNavigation()
binaryfire
binaryfireOP11mo ago
Perfect, thanks!
Want results from more Discord servers?
Add your server