fbpx

Category: Application Software

Code snippet how to remove sidebar information from WHMCS

The following code snippet will remove / manipulate sidebar information: <?php use WHMCS\View\Menu\Item as MenuItem; add_hook(‘ClientAreaSecondarySidebar’, 1, function(MenuItem $secondarySidebar) { if (!is_null($secondarySidebar->getChild(‘Support’))) { $secondarySidebar->getChild(‘Support’) ->removeChild(‘Announcements’)

Read More

If you cannot find what you are looking try another search or contact us, we’re there to help

Scroll to Top