Adeolberto Posted September 13, 2018 Share Posted September 13, 2018 please help me remove this button in my customer area, i no have more idea :( i try this but not working... <?php add_hook('ClientAreaHomepagePanels', 1, function($homePagePanels) { if (!is_null($primaryNavbar->getChild('Recent Support Tickets'))) { $primaryNavbar->removeChild('Recent Support Tickets'); } i try steps this url.. nothing work https://developers.whmcs.com/hooks-reference/client-area-interface/#clientareahomepagepanels 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted September 15, 2018 Share Posted September 15, 2018 try this... <?php use WHMCS\View\Menu\Item; add_hook('ClientAreaHomepagePanels', 1, function(Item $homePagePanels) { if (!is_null($homePagePanels->getChild('Recent Support Tickets'))) { $homePagePanels->getChild('Recent Support Tickets') ->setExtras(array( 'color' => 'blue', 'btn-text' => '', 'btn-link' => '', 'btn-icon' => '',) ); } }); 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.