Code snippet how to remove sidebar information from WHMCS

The following code snippet will remove / manipulate sidebar information:


use WHMCS\View\Menu\Item as MenuItem;

add_hook('ClientAreaSecondarySidebar', 1, function(MenuItem $secondarySidebar)
   if (!is_null($secondarySidebar->getChild('Support'))) {


Share this article

Share on facebook
Share on twitter
Share on linkedin

Leave a Reply

Your email address will not be published. Required fields are marked *

Scroll to Top