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.

評價

There are no reviews for this plugin.

貢獻者及開發者

“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.