We build. You grow.

Get best community software here

Start a social network, a fan-site, an education project with oxwall - free opensource community software

[Answered] Hooks in Oxwall | Forum

Jakub Kądzielawa
Jakub Kądzielawa Jun 23 '15

Hello guys. I am writing a plugin for Oxwall and I have a question. I need it to execute its function each time a user logs in.


Is there a hook that gets fired after login that I can add an action to?


In WordPress there is a wp_login function that is using always when user login into his account.


Thanks

The Forum post is edited by Alia Jul 3 '15
Alia Team
Alia Jun 30 '15
Will following method work for you?

if ( !OW::getUser()->isAuthenticated() )
        {
            throw new AuthenticateException();
        }

Jakub Kądzielawa
Jakub Kądzielawa Jul 1 '15
Ok, thanks but I managed to my own with that problem.
http://www.oxwall.org/forum/topic/37666

Could you place these plugin to oxwall market?
Alia Team
Alia Jul 3 '15
Jakub, unfortunately we can not place plugins to Oxwall Store ourselves.
Owner of plugin must submit it to our Store himself.