007basaran Posted October 12, 2017 Share Posted October 12, 2017 Hello, Previously thanks for everyone for helps. A little problem for developers control in 1 minute fix. Problem whmcs in secondary same characters... Please check image : prntscr.com/gwidms How to delete ------ ? Regards. 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted October 12, 2017 Share Posted October 12, 2017 it's the same as deleting any other menu child, you just have to find it's name (menuitemname) and add it to your hook... https://docs.whmcs.com/Client_Area_Navigation_Menus_Cheatsheet but it should be along the lines of... <?php /** * Remove Secondary Navbar Divider * @author brian! */ use WHMCS\View\Menu\Item as MenuItem; add_hook('ClientAreaSecondaryNavbar', 1, function (MenuItem $secondaryNavbar) { if (!is_null($secondaryNavbar->getChild('Account'))) { $secondaryNavbar->getChild('Account') ->removeChild('Divider'); } }); 1 Quote Link to comment Share on other sites More sharing options...
007basaran Posted October 12, 2017 Author Share Posted October 12, 2017 Thank you brian. Good days. 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.