How can we improve WHMCS?

Share, discuss and vote for what you would like to see added to WHMCS

Support adding JavaScript code to Client Area Menus

It is requested to edit the Interacting with menus to support adding JavaScript code.


use WHMCS\View\Menu\Item as MenuItem;

# 添加侧栏文档:
add_hook('ClientAreaPrimarySidebar', 1, function (MenuItem $primarySidebar)
if (!is_null($primarySidebar->getChild('My Domains Status Filter'))) {
$primarySidebar->getChild('My Domains Status Filter')
->addChild('Other Status')
->setLabel('Other Status')

Post the first comment

Login to post a comment.