Hapus Beberapa TAB Overview di WHMCS

Discussion in 'Software Hosting dan Control Panel' started by Ant0t3ch, 16 Jul 2016.

Thread Status:
Not open for further replies.
  1. Ant0t3ch

    Ant0t3ch Poster 1.0

    Messages:
    91
    Likes Received:
    9
    Trophy Points:
    8
    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
    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

    Screenshot_700.jpg
     
Loading...
Thread Status:
Not open for further replies.

Share This Page

Loading...