hello folk,
I am sandra from germany and totally happy with whmcs.
But I have a question about the "changing where a menu item links to".
https://developers.whmcs.com/themes/navigation/
I read it and can not understand in which file I have to put this inside?
So where I have to put the seturi file inside and which parameters do i have to change ?
<?php
use WHMCS\View\Menu\Item as MenuItem;
add_hook('ClientAreaPrimaryNavbar', 1, function (MenuItem $primaryNavbar)
{
$navItem = $primaryNavbar->getChild('Support');
if (is_null($navItem)) {
return;
}
$navItem = $navItem->getChild('Announcements');
if (is_null($navItem)) {
return;
}
$navItem->setUri('https://www.example.com/3rdpartyblogsystem');
could you please help me