Jump to content

Remove or Disable Sitejet from WHMCS


sol2010
Go to solution Solved by WHMCS JoshQ,

Recommended Posts

  • 2 months later...
  • WHMCS Technical Analyst II
  • Solution

@Damo's suggestion is correct.

The presence of Sitejet within WHMCS is dependent on its being enabled on any connected cPanel / Plesk servers.

If you do not want to offer Sitejet to your customers, disable the feature on your cPanel / Plesk servers. If WHMCS does not detect that Sitejet is supported, then it will not display anything related to Sitejet.

Hope this helps 🙂 

Link to comment
Share on other sites

  • 3 weeks later...
  • 1 month later...
  • 2 months later...
  • 2 weeks later...
On 8/10/2024 at 4:34 PM, WHMCS JoshQ said:

@Damo's suggestion is correct.

The presence of Sitejet within WHMCS is dependent on its being enabled on any connected cPanel / Plesk servers.

If you do not want to offer Sitejet to your customers, disable the feature on your cPanel / Plesk servers. If WHMCS does not detect that Sitejet is supported, then it will not display anything related to Sitejet.

Hope this helps 🙂 

Thanks for sharing the valuable info. It was required to disable the on cPanel / Plesk servers.

Link to comment
Share on other sites

  • 5 months later...
  • WHMCS Technical Analyst

You can remove the Edit with Sitejet Builder  link from the left sidebar menu under the Actions sidebar when logged in as a client and looking at the Product Details page using this hook code:

<?php

use WHMCS\View\Menu\Item as MenuItem;

add_hook('ClientAreaPrimarySidebar', 1, function (MenuItem $primarySidebar) {
    $actionsMenu = $primarySidebar->getChild('Service Details Actions');

    if ($actionsMenu instanceof MenuItem) {
        foreach ($actionsMenu->getChildren() as $child) {
            if (strpos($child->getLabel(), 'Sitejet') !== false) {
                $actionsMenu->removeChild($child->getName());
            }
        }
    }
});

See the attached screenshots showing this custom hook file in place in the /includes/hooks/ directory.  The screenshots show that this link is no longer there after this hook code is added. 

You would create a file named "remove_sitjet_link.php" and add the above code into it, and upload it to your /includes/hooks/ directory. 

I tested this with WHMCS version 8.13.1. 

I hope that this helps someone.

Screenshot 2025-06-20 at 11.47.55 PM.png

Screenshot 2025-06-20 at 11.57.42 PM.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated