dynamic router in navigation menu
how can I make a router with a dynamic link, I didn't find any hook about it.
e.g : example.com/user/USERNAME/custompagehere
I want USERNAME to change for each connected user that clicks on the navigation menu link
https://example.com/me/xxxxxxwill redirect a user to
Try it out: /me/bookmarks
@PitaJ it worked. Thank you