whmcs

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
Scroll to Top