跳到内容

Login alert by e-mail

v1.0

Rui Cruz · 2023年2月16日 上架

This plugin sends email notifications to the website admin on successful and failed logins for each attempt. It helps the website administrator stay i …

正在使用
10 以下
评分
暂无
累计下载
1,600
最近更新
2023年2月17日
需要 WordPress 5.0+已测试到 6.1.17PHP 7.0+

贡献者

TLDR:
This is a plugin for WordPress websites that sends email notifications to the website admin for successful and failed login attempts. The email includes details like the username, IP address, and browser information.

Geek description:
This WordPress plugin sends email notifications upon successful and failed logins to the website’s admin. The plugin functions by hooking into the ‘wp_login’ and ‘wp_login_failed’ WordPress actions, and triggering the ‘send_login_notification’ and ‘send_login_failed_notification’ functions respectively.

The ‘send_login_notification’ function sends an email to the admin email address specified in the ‘admin_email’ option. The email includes details such as the successful login username, IP address, and browser information. The ‘send_login_failed_notification’ function sends a similar email to the admin, but for failed login attempts.

The plugin uses the wp_mail function to send the emails, and the messages are formatted as HTML for easy readability. The plugin ensures that the data being displayed, such as the username and IP address, is escaped using PHP’s built-in escape functions. This is done to prevent potential security vulnerabilities, such as XSS (Cross-Site Scripting).

In summary, this plugin provides an easy way for website administrators to stay informed of user login activity on their site, while also ensuring that sensitive information is displayed securely.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums