Title: Action after login
Last modified: June 20, 2018

---

# Action after login

 *  Resolved [BeyondLine](https://wordpress.org/support/users/beyondline/)
 * (@beyondline)
 * [8 years ago](https://wordpress.org/support/topic/action-after-login/)
 * 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](https://wordpress.org/support/users/raster02/)
 * (@raster02)
 * [8 years ago](https://wordpress.org/support/topic/action-after-login/#post-10418151)
 * Hello [@beyondline](https://wordpress.org/support/users/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.

 * ![](https://ps.w.org/paid-member-subscriptions/assets/icon-256x256.png?rev=2961161)
 * [Paid Membership Subscriptions - Effortless Memberships, Recurring Payments & Content Restriction](https://wordpress.org/plugins/paid-member-subscriptions/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/paid-member-subscriptions/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/paid-member-subscriptions/)
 * [Active Topics](https://wordpress.org/support/plugin/paid-member-subscriptions/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/paid-member-subscriptions/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/paid-member-subscriptions/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Georgian Cocora](https://wordpress.org/support/users/raster02/)
 * Last activity: [8 years ago](https://wordpress.org/support/topic/action-after-login/#post-10418151)
 * Status: resolved