Skip to content
  • Log In
  • Register
WordPress.org

English (Australia)

  • Themes
  • Plugins
  • News
  • About
  • Events
  • Get Involved
  • Glossary
  • Team (O2)
  • Get WordPress
Get WordPress

Plugins

  • My Favourites
  • Beta Testing
  • Developers

This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Download

WP User Sentry

By Tim Nash
  • Details
  • Reviews
  • Development
Support

Description

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

Reviews

Great plugin as part of your secuirty toolkit

Neil Batchelor May 21, 2020 1 reply
This is a great plugin that is in the "must install" list for a new website. The ability to only receive one email from the same IP address really helps to keep down the admin notifications, but it has your back when your IP changes.
Read all 1 review

Contributors & Developers

“WP User Sentry” is open source software. The following people have contributed to this plugin.

Contributors
  • Tim Nash

Translate “WP User Sentry” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

1.1.0 – 28th May 2020
– [New Feature] WooCommerce GEOAPI integration for determinging country
– [New Feature] Modify Subject field
– [New Feature] Send Test Email
– [New Feature] Added notify_login_roles to allow plugins/themes to filter if email should be sent
1.0.0 – 5th May 2020
– Released on WordPress.org
0.4.0 – 3rd May 2020
– Change Name to WP User Sentry
– Refactored to separate classes
– [New Feature] Option to select which roles should be notified on logins.
– [New Feature] Configuring email via settings
– [New Feature] Disable sending emails, if already logged in with same IP/Browser combo
0.3.0 – 9th April 2020
– [New Feature] Setting page to allow using third party services to get IP address.
– [New Feature] getting Country from IP using ip-api.com
0.2.0 – 9th April 2020
– [Bug Fix] Removed spurious class names from table
– [Bug Fix] Added colspan 5 to table when no sessions exist (props @philmorrow)
– [Bug Fix] Fixed typo in email (props @babsaul)
0.1.0 – 9th April 2020 – Initial Development Version

Meta

  • Version: 1.1.0
  • Last updated: 2 years ago
  • Active installations: 20+
  • WordPress Version: 5.3 or higher
  • Tested up to: 5.8.6
  • PHP Version: 7.0 or higher
  • Language:
    English (US)
  • Tags:
    emailloginsessions
  • Advanced View

Ratings

See all
  • 5 stars 1
  • 4 stars 0
  • 3 stars 0
  • 2 stars 0
  • 1 star 0
Log in to submit a review.

Contributors

  • Tim Nash

Support

Got something to say? Need help?

View support forum

  • About
  • News
  • Hosting
  • Donate
  • Swag
  • Documentation
  • Developers
  • Get Involved
  • Learn
  • Showcase
  • Plugins
  • Themes
  • Patterns
  • WordCamp
  • WordPress.TV
  • BuddyPress
  • bbPress
  • WordPress.com
  • Matt
  • Privacy
  • Public Code
WordPress.org
WordPress.org

English (Australia)

  • Visit our Facebook page
  • Visit our Twitter account
  • Visit our Instagram account
  • Visit our LinkedIn account
Code is Poetry