How to add own link to "Useful Links" block in member's area

From aMember Pro Documentation
Revision as of 02:09, 28 August 2012 by Alexander (talk | contribs)
Jump to: navigation, search

Create /amember/application/configs/site.php with this code:


<?php 
Am_Di::getInstance()->hook->add(Am_Event::GET_MEMBER_LINKS, 'getLinks');
function getLinks(Am_Event $event){
    $event->addReturn('LINK TITLE', '/url/');
}