WP User Sentry

plugin banner

Sends an email to the user, as they login, and provides an overview of sessions in profile

Author:Tim Nash (profile at wordpress.org)
WordPress version required:5.3
WordPress version tested:5.8
Plugin version:1.1.0
Added to WordPress repository:05-05-2020
Last updated:20-07-2021
Warning! This plugin has not been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.
Rating, %:100
Rated by:1
Plugin URI:https://timnash.co.uk/wp-user-sentry
Total downloads:703
Active installs:30+
plugin download
Click to start download

WP User Sentry has three features:

Email

Emails the user’s email address, as set in their profile, on successful login.
Email provides information about the login, the time/browser/operating system and IP
Optionally get location from remote third party service.

Profile View

Generates a table, from the “session data” for a user, to shows when they logged in and their session information including:
– Login Time
– Browser
– Operating System
– Expiry Time (when the session is due to expire)

Settings Page

Provides settings for the plugin under wp-admin->settings->WP User Sentry

Configure if you wish to use a third party GEOAPI provider for determining country
Configure which roles should have on login notifications enabled
Configure the email being sent
Configure If the email should be sent, if an existing session with the same useragent and IP exists.

Actions & Filters

Here is a list of action and filter hooks provided by the plugin:

  • wp_user_sentry_notify Filter to change if email should be sent return is bool, additional info user ID.
  • wp_user_sentry_email_message Filter to change the email message generated by the plugin.
  • wp_user_sentry_email Filter to change the email array generated by the plugin prior to sending mail.

Screenshots
ChangeLog