Jump to content
Adeolberto

HIDE tickets widget - help me please

Recommended Posts

https://docs.whmcs.com/Working_With_Client_Area_Home_Page_Panels#Modifying_an_existing_panel

Read the above and replace getChild() with removeChild() (remove the if() code)

<?php
 
use WHMCS\View\Menu\Item;
 
add_hook('ClientAreaHomepagePanels', 1, function (Item $homePagePanels) {
   $homePagePanels->removeChild('Recent Support Tickets');
});

 

Edited by pRieStaKos
  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×

Important Information

By using this site, you agree to our Terms of Use & Guidelines