nein Posted July 2, 2021 Share Posted July 2, 2021 Hello guys ! So basically, I have the following hook: add_hook('ClientAreaPrimaryNavbar', 1, function (MenuItem $primaryNavbar) { $primaryNavbar->addChild('Menu Name') ->setOrder(10); }); I want to add the menu item into the navbar but as plain text, wich means: without url (no a href) so it will be plain text and also with a custom class so I can edit it trough .css 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.