Title: Notification possible using a hook?
Last modified: October 23, 2020

---

# Notification possible using a hook?

 *  Resolved [everlearn](https://wordpress.org/support/users/everlearn/)
 * (@everlearn)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/notification-possible-using-a-hook/)
 * Hi LoggedIn developers,
 * I would love to see a notification that either tells the user that their other
   login session has been logged out after they log in (Allow mode) or that they
   can’t login because there’s another session active (Block mode).
 * In my opinion this is an important feature that is missing from this plugin.
 * Is there a hook that I can use to code and trigger my own notification?
 * Thanks,
    Rob

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Joel James](https://wordpress.org/support/users/joelcj91/)
 * (@joelcj91)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/notification-possible-using-a-hook/#post-13574757)
 * Hey [@everlearn](https://wordpress.org/support/users/everlearn/),
 * Yes, we will show the error notice on the login screen. You can customize the
   error message using **loggedin_error_message** filter.
 *  [mateito10](https://wordpress.org/support/users/mateito10/)
 * (@mateito10)
 * [5 years ago](https://wordpress.org/support/topic/notification-possible-using-a-hook/#post-14187159)
 * Hi [@joelcj91](https://wordpress.org/support/users/joelcj91/)
 * **You can customize the error message using loggedin_error_message filter.**
 * Could you please tell me how to do this? I actually need to show my custom message
   and also in Spanish.
 *  Plugin Author [Joel James](https://wordpress.org/support/users/joelcj91/)
 * (@joelcj91)
 * [5 years ago](https://wordpress.org/support/topic/notification-possible-using-a-hook/#post-14187645)
 * Hi [@mateito10](https://wordpress.org/support/users/mateito10/),
 * Here is an example how you can do it.
 *     ```
       add_filter( 'loggedin_error_message', function ( $message ) {
       	return 'YOUR CUSTOM MESSAGE';
       } );
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Notification possible using a hook?’ is closed to new replies.

 * ![](https://ps.w.org/loggedin/assets/icon.svg?rev=3348320)
 * [Loggedin - Limit Concurrent Sessions](https://wordpress.org/plugins/loggedin/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/loggedin/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/loggedin/)
 * [Active Topics](https://wordpress.org/support/plugin/loggedin/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/loggedin/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/loggedin/reviews/)

## Tags

 * [hook](https://wordpress.org/support/topic-tag/hook/)
 * [message](https://wordpress.org/support/topic-tag/message/)

 * 3 replies
 * 3 participants
 * Last reply from: [Joel James](https://wordpress.org/support/users/joelcj91/)
 * Last activity: [5 years ago](https://wordpress.org/support/topic/notification-possible-using-a-hook/#post-14187645)
 * Status: resolved