• Resolved BeyondLine

    (@beyondline)


    Hi,
    i need to add something like a banner saying “Hello user, you’re now logged in!” right after the user login. Is there any custom Hooks / actions from your plugin? I tried with the WordPress default hook “wp_login” but it doesn’t seem to work well.

    Thanks a lot,
    regards

    Olivier

Viewing 1 replies (of 1 total)
  • Plugin Author Georgian Cocora

    (@raster02)

    Hello @beyondline,

    You can use login_init and check if the user is logged in. This is an action that is executed at the start of the login form.

    I am not entirely sure where you want to show this message and what you want to do with it, but this might not be the best method. So give me more details about this if you need more help.

    Regards.

Viewing 1 replies (of 1 total)

The topic ‘Action after login’ is closed to new replies.