Change a Sidebar Menu Label

This information only applies to self-hosted WHMCS installations. WHMCS Cloud does not currently support this customization method.

You can customize the Client Area’s sidebar navigation menus through hooks and custom modules.

For more information, see Client Area Sidebars and our Developer Documentation.

Changing the Text Label of a Sidebar Item

Language files control all of the default sidebar menu items. Search in your active language file for the text you see in the sidebar menu item label. You can adjust it in this file to change the displayed label, or you can use a hook.

Example

<?php

use WHMCS\View\Menu\Item as MenuItem;

add_hook('ClientAreaPrimarySidebar', 1, function(MenuItem $primarySidebar) {
    $primarySidebar->getChild("My Account")
        ->getChild("Billing Information")
        ->setLabel("Custom Text Here");
});

Last modified: 2025 October 17