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.

سکرین شۆتەکان

دامەزراندن

  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.