Since we don't use WHMCS for support tickets I've been working on modifying the Six template to send them to our actual support desk.
Figured out the hooks to change the URI for the navbar links (Support->Tickets and Open Ticket). But cannot seem to get rid of the Recent Support Tickets panel.
This is the code I've been tinkering with:
use WHMCS\User\Client;
use WHMCS\View\Menu\Item;
$ca = new WHMCS_ClientArea();
if ($ca->isLoggedIn()) {
#remove the default Open Ticket item
add_hook('ClientAreaHomepagePanels', 1, function ($homePagePanels)
{
$delPanel = $homePagePanels->removeChild('Recent Support Tickets');
});
}
Any help would be appreciated.