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

From aMember Pro Documentation
Jump to: navigation, search

Add this code to site.php file:

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