Title: AlertHub
Author: pericodes
Published: <strong>2026 年 8 月 25 日</strong>
Last modified: 2026 年 8 月 26 日

---

搜索插件

![](https://ps.w.org/alerthub/assets/icon-256x256.png?rev=3693869)

# AlertHub

 作者：[pericodes](https://profiles.wordpress.org/pericodes/)

[下载](https://downloads.wordpress.org/plugin/alerthub.1.1.5.zip)

 * [详情](https://cn.wordpress.org/plugins/alerthub/#description)
 * [评价](https://cn.wordpress.org/plugins/alerthub/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/alerthub/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/alerthub/#developers)

 [支持](https://wordpress.org/support/plugin/alerthub/)

## 描述

AlertHub is a powerful notification management platform that centralizes alerts 
from all your services into one dashboard and routes them to your preferred channels
like Slack, Email, or Mobile Push.

This WordPress plugin connects your site directly to AlertHub, enabling you to turn
any WordPress action (Hook) into a notification. Whether you want to know if an 
administrator logs in, a payment fails, or a critical error occurs, AlertHub keeps
you informed in real-time.

By configuring a simple Project Key, you can start monitoring your site within seconds.

**Key Features:**

 * **Easy Integration:** Just paste your AlertHub Project Key.
 * **Custom Alerts Manager:** Create your own alerts for any WordPress hook (e.g.,`
   wp_login_failed`, `wc_order_status_completed`).
 * **Hook Helper:** Includes a dropdown to quickly fill common WordPress hooks into
   the alert form.
 * **Variable Support:** Use placeholders like `{{0}}` or `{{1.user_email}}` to 
   inject dynamic data from hooks into your alert messages.
 * **Alert History Log:** Keep a local record of all sent alerts with filtering 
   by date, level, and ID.
 * **Performance:** Alerts are sent asynchronously to ensure your site speed is 
   never affected.

### External services

This plugin connects to the **AlertHub** notification platform to deliver alerts
from your WordPress site to your AlertHub dashboard and configured channels (Slack,
Email, Telegram, etc.).

**Service:** AlertHub API (`https://api.thealerthub.com/sendAlert`), operated by
AlertHub (https://thealerthub.com).

**What it is used for:** Sending alert notifications when a configured WordPress
hook fires (for example, a failed login or a custom alert you create in the plugin).
Alerts are only sent if you have saved a valid **Project Key** in **Tools  AlertHub**.

**What data is sent and when:** Each time an alert is triggered, the plugin sends
a non-blocking HTTPS POST request with a JSON body containing:

 * `ah_key` — your AlertHub Project Key (stored in WordPress options after you configure
   the plugin).
 * `ah_title` — the alert title (may include dynamic values from the WordPress hook).
 * `ah_description` — the alert message (may include dynamic values from the WordPress
   hook).
 * `ah_level` — severity level (`info`, `warning`, or `critical`).
 * `ah_source` — a source label (defaults to your site name, or a name you configure).
 * `url` — your WordPress site URL (`get_site_url()`).
 * `timestamp` — the date and time the alert was generated on your site.

No data is sent until you enter a Project Key and an alert condition occurs. If 
the Project Key is empty, the plugin does not contact the API.

**Legal:** This service is provided by AlertHub: [Terms of Service](https://thealerthub.com/terms-of-service),
[Privacy Policy](https://thealerthub.com/privacy-policy).

## 安装

 1. Upload the `alerthub` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress.
 3. Go to **Tools -> AlertHub**.
 4. Enter your **Project Key** (found in your AlertHub dashboard).
 5. (Optional) configure a Shared Source name (e.g., “My Shop”).
 6. Go to the **Alerts** tab to create your first custom alert.

## 常见问题

### Where do I get the Project Key?

You can find your Project Key in your AlertHub project settings page (https://app.
thealerthub.com).

### Can I use custom hooks?

Yes! In the alerts manager, you can type any action hook name triggered by WordPress
or other plugins.

### How do I include dynamic data in alerts?

You can use `{{0}}` for the first argument passed to the hook, `{{1}}` for the second,
etc. You can also access object properties like `{{1.post_title}}`.

## 评价

此插件暂无评价。

## 贡献者及开发者

「AlertHub」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ pericodes ](https://profiles.wordpress.org/pericodes/)

[帮助将「AlertHub」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/alerthub)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/alerthub/)，查看[SVN仓库](https://plugins.svn.wordpress.org/alerthub/)，
或通过[RSS](https://plugins.trac.wordpress.org/log/alerthub/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/alerthub/)。

## 更新日志

#### 1.1.5

 * Documented AlertHub external API usage in the readme (WordPress.org compliance).

#### 1.0.0

 * Initial release with Project Key integration.
 * Added Custom Alerts Manager with native hook selector.
 * Added Alert History Logs with filtering.
 * Added support for dynamic placeholders in alert messages.

## 额外信息

 *  版本 **1.1.5**
 *  最后更新：**1 月前**
 *  活跃安装数量 **不到10**
 *  WordPress 版本 ** 6.2 或更高版本 **
 *  已测试的最高版本为 **7.0.6**
 *  PHP 版本 ** 7.4 或更高版本 **
 *  语言
 * [English (US)](https://wordpress.org/plugins/alerthub/)
 * 标签
 * [alerts](https://cn.wordpress.org/plugins/tags/alerts/)[logs](https://cn.wordpress.org/plugins/tags/logs/)
   [monitoring](https://cn.wordpress.org/plugins/tags/monitoring/)[notification](https://cn.wordpress.org/plugins/tags/notification/)
   [security](https://cn.wordpress.org/plugins/tags/security/)
 *  [高级视图](https://cn.wordpress.org/plugins/alerthub/advanced/)

## 评级

尚未提交反馈。

[您的评价](https://wordpress.org/support/plugin/alerthub/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/alerthub/reviews/)

## 贡献者

 *   [ pericodes ](https://profiles.wordpress.org/pericodes/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/alerthub/)