public function onAuthSessionRefresh(Am_Event_AuthSessionRefresh $event) { // Make sure that parent hook is executed because it will login user into wordpress after signup. parent::onAuthSessionRefresh($event); $this->saveLinksToSession($event->getUser()); }