HOSKIA INDIA Posted August 27, 2019 Share Posted August 27, 2019 how to hide Manage Your Security widget from client area https://prnt.sc/oy8omp 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted August 27, 2019 Share Posted August 27, 2019 that's the SiteLock homepage panel - so you can remove it with a hook. <?php use WHMCS\View\Menu\Item; add_hook('ClientAreaHomepagePanels', 1, function (Item $homePagePanels) { $homePagePanels->removeChild('SitelockLogin'); }); but if you're selling SiteLock, then the user may need access to the panel to manage their settings. 1 Quote Link to comment Share on other sites More sharing options...
HOSKIA INDIA Posted August 27, 2019 Author Share Posted August 27, 2019 @brian! 2 minutes ago, brian! said: <?php use WHMCS\View\Menu\Item; add_hook('ClientAreaHomepagePanels', 1, function (Item $homePagePanels) { $homePagePanels->removeChild('SitelockLogin'); }); it's hook right ? 0 Quote Link to comment Share on other sites More sharing options...
brian! Posted August 27, 2019 Share Posted August 27, 2019 Just now, HOSKIA INDIA said: it's hook right ? oh sorry.... yes it is. 🙂 1 Quote Link to comment Share on other sites More sharing options...
HOSKIA INDIA Posted August 27, 2019 Author Share Posted August 27, 2019 @brian! 😍😍 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.