Ant0t3ch
Poster 1.0
permisi tuan, lagi belajar buat module server senderhana di whmcs, nah sudah referensi di web nya :
Doc:
http://docs.whmcs.com/Developer_Resources
http://docs.whmcs.com/Provisioning_Module_Developer_Docs
http://docs.whmcs.com/Hooks
module:
https://github.com/WHMCS/sample-provisioning-module/tree/master/modules/servers/provisioningmodule
referensi :
http://docs.whmcs.com/Client_Area_Sidebars_Cheatsheet#Hiding.2FRemoving_a_Sidebar_Menu_Item
tujuan saya ingin menghapus beberapa sub child yang tidak di gunakan. mohon bantuannya tuan. trims

Doc:
http://docs.whmcs.com/Developer_Resources
http://docs.whmcs.com/Provisioning_Module_Developer_Docs
http://docs.whmcs.com/Hooks
module:
https://github.com/WHMCS/sample-provisioning-module/tree/master/modules/servers/provisioningmodule
referensi :
http://docs.whmcs.com/Client_Area_Sidebars_Cheatsheet#Hiding.2FRemoving_a_Sidebar_Menu_Item
Code:
<?php
use WHMCS\View\Menu\Item as MenuItem;
add_hook('ClientAreaSecondarySidebar', 1, function (MenuItem $primarySidebar)
{
if (!is_null($primarySidebar->getChild('Service Details Overview'))) {
$primarySidebar->removeChild('Manage Reverse DNS');
}
});
tujuan saya ingin menghapus beberapa sub child yang tidak di gunakan. mohon bantuannya tuan. trims
