Wonderful Webhook Alerts

外掛說明

This plugin provides a simple but powerful function for developers and site administrators. It automatically captures critical PHP errors (fatal errors, parse errors, etc.) that would otherwise take your site down silently.

Instead of having to check server logs, you receive an instant notification via a webhook to a service of your choice, like Slack or Discord. This allows for immediate action and faster debugging.

The setup is minimal: just add your webhook URL on the settings page, and the plugin takes care of the rest.

螢幕擷圖

安裝方式

  1. Upload the wonderful-webhook-alerts folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Settings > Webhook Alerts in your admin dashboard.
  4. Enter your webhook URL and save the settings.
  5. Use the Send test message button to verify the connection. That’s it!

常見問題集

What is a webhook URL?

A webhook URL is a special web address provided by services like Slack, Discord, or Zapier. When your WordPress site sends a message to this URL, the service receives it and can post it, for example, in a specific chat channel. You can get this URL from the settings of your chosen service.

Does this plugin affect my site’s performance?

No. The plugin only runs a very lightweight check at the very end of a PHP process, and only if a fatal error has occurred. It has no impact on the performance during normal site operation.

Which error types are reported?

The plugin reports E_ERROR, E_PARSE, E_CORE_ERROR, and E_COMPILE_ERROR. These are the most critical errors that usually cause a site to stop working.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Wonderful Webhook Alerts〉的開發相關工作。

參與者

將〈Wonderful Webhook Alerts〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.1.1

  • Tested up to WordPress 7.0.

1.1.0

  • Enable/disable switch to turn fatal error alerts on or off without deactivating the plugin.
  • “Send test message” button to verify the webhook connection from the settings page.

1.0.0

  • Initial release.