Member 3639
Active member
PHP:
<?php
class Navtabs
{
public static function addNavbarTab(array &$extraTabs, $selectedTabId)
{
$extraTabs['aboutus'] = array(
'title' => new XenForo_Phrase('about_us'),//phrase with the title for the link
'href' => XenForo_Link::buildPublicLink('pages/about_us'),
'position' => 'middle'
);
}
}