Good morning !
Ah ok only for the high bar, no worries thank you very much.
I can't modify for the left menu with your link unfortunately...
In addition I have the impression that on their own code there are certain errors such as for example here;
<?php
use WHMCS\View\Menu\Item as MenuItem;
add_hook('ClientAreaPrimarySidebar', 1, function(MenuItem $primarySidebar)
{
$primarySidebar->getChild('My Account')
->getChild('Billing Information')
->setUri('https://www.example.com/billingInfo');
});
(( This is their base code ))
While I believe it is necessary to add a tag to close:
<?php
use WHMCS\View\Menu\Item as MenuItem;
add_hook('ClientAreaPrimarySidebar', 1, function(MenuItem $primarySidebar)
{
$primarySidebar->getChild('My Account')
->getChild('Billing Information')
->setUri('https://www.example.com/billingInfo');
} <---
});
I also succeeded for the top navigation but only when you are disconnected, but when you connect it does not work.
Thanks very much !