Incoming Hook Logger

外掛說明

Incoming Hook Logger is designed for developers who need to debug or monitor incoming webhook requests sent to their WordPress site. It captures all request data without interrupting the original request flow, allowing other plugins to process the webhooks as usual.

Key Features:

  • Multiple URLs: Specify one or more URLs (or partial URLs) to monitor.
  • Full Data Capture: Logs request method, full URL, headers, raw body, and sender’s IP.
  • Admin Interface: View logs directly in the WordPress dashboard with two tabs (Settings and Logs).
  • Filtering & Search: Easily find specific entries by filtering by URL or searching through body and headers.
  • Secure Storage: Logs are stored in a dedicated database table (wp_webhook_logs) and accessible only to administrators.

螢幕擷圖

  • Admin interface with Settings and Logs tabs.

安裝方式

  1. Upload the incoming-hook-logger folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress.
  3. Go to Incoming Hook Logger menu in the sidebar.
  4. In the Settings tab, add the URLs you want to monitor (one per line).
  5. View captured requests in the Logs tab.

常見問題集

How do I monitor specific endpoints?

In the Settings tab, you can enter partial paths or full URLs.
* For example, entering /wc-api/ will log all WooCommerce API callbacks.
* Entering my-custom-endpoint will log any request that contains this string in its URL.

Where are the logs stored?

Logs are stored in a custom database table named wp_webhook_logs (the prefix may vary depending on your WordPress configuration). This ensures that logs are not publicly accessible via the filesystem.

使用者評論

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

參與者及開發者

以下人員參與了開源軟體〈Incoming Hook Logger〉的開發相關工作。

參與者

〈Incoming Hook Logger〉外掛目前已有 2 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Incoming Hook Logger〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.0.1

  • Unique option/action prefixes (inholog_) for WordPress.org guidelines; migration from legacy wl_ option key.

1.0.0

  • Initial release.