[WordPress] 外掛分享: WP User Sentry

首頁外掛目錄 › WP User Sentry
WordPress 外掛 WP User Sentry 的封面圖片
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
30+
安裝啟用
★★★★★
5/5 分(1 則評價)
1703 天前
最後更新
問題解決
WordPress 5.3+ PHP 7.0+ v1.1.0 上架:2020-05-04

內容簡介

WP User Sentry 具有三個功能:

Email

成功登錄時,向用戶的電子郵件地址發送電子郵件,該地址在他們的個人資料中設置。
電子郵件提供有關登錄時間/瀏覽器/操作系統和 IP 的信息
可選擇從遠程第三方服務獲取位置信息。

Profile View

生成表格來顯示指定用戶的 “session data” 用於顯示其登錄時間和會話信息,包括:
– 登錄時間
– 瀏覽器
– 操作系統
– 過期時間(會話到期時間)

Settings Page

在 wp-admin->settings->WP User Sentry 下提供外掛的設置頁面。

配置是否想使用第三方 GEOAPI 提供商來確定國家
配置哪些角色應啟用登錄通知
配置要發送的電子郵件
配置如果同一個用戶代理和 IP 存在現有會話,是否應發送電子郵件。

Actions & Filters

以下是插件提供的操作和過濾器鉤子清單:

wp_user_sentry_notify 過濾器,用於更改是否應傳回布爾值發送電子郵件,以及其他用戶 ID 信息。
wp_user_sentry_email_message 過濾器,用於更改插件生成的電子郵件消息。
wp_user_sentry_email 過濾器,用於在發送郵件之前更改插件生成的郵件陣列。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「WP User Sentry」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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.

延伸相關外掛

文章
Filter
Mastodon