Inspect HTTP Requests Plugin

Log, view, and Block WP HTTP requests

** This plugin is inpired from the work of log-http-requests plugin **

Monitor all the HTTP Request being made via WP HTTP Methods i.e. wp_remote_get, wp_remote_post Block any request by just a click of button.
Track how much time a request like updating core/plugin/theme taking (may be useful for bandwidth consumption analysis),

This plugin logs all WP_HTTP requests and displays them in a table listing for easy viewing. It also stores the runtime of each HTTP request.

If you add a base-url manually, e.g. https://api.woocommerce.com, there will be no more entries stored for that host.

Available Hooks

Add the following to wp-config.php for default blocking:

 define( 'inspect_http_requests_default_block', true ); 

To prevent database littering and performance drain due to sql lookups you can ignore (parts of) hostnames:
(without this, your own site and wordpress.org are ignored)

 define( 'inspect_http_requests_ignored_urls', [ 'your own site', 'wordpress.org', 'api.woocommerce.com', 'wp-rocket.me', 'ip-api.com', 'ipinfo.io', 'api', ]); 

Important Links

Checkout Our Other Plugins

  1. Connect MemberPress and Discord
  2. Connect PaidmembershipPro and Discord
  3. Connect LearnPress and Discord
  4. Connect GamiPress and Discord
  5. Connect LifterLMS and Discord
  6. Webhook For WCFM Vendors
  7. Connect LearnDash and Discord
  8. Product Questions & Answers for WooCommerce
  9. Connect Ultimate Member and Discord
  10. Connect BadgeOS and Discord
  11. connect Eduma Theme and Discord

Installation

  1. Download and activate the plugin.
  2. Browse to Tools > Inspect HTTP Requests to view log entries.

Screenshots

  1. The plugin menu is Available inside tools

    The plugin menu is Available inside tools

Changelog

1.0.8

  • Updated functionality to retrieve the base URL and compare it with database entries. Manually added base URLs with runtime 0 are now ignored. Note: This functionality currently applies only to base URLs.
  • Sort the admin page on blocked url’s and sort URL’s on alphabet
  • Stop logging to database if administrator has manually added a matching base-url in the database.
  • Added option to block by default, define( ‘inspect-http-requests-default-block’, true ) in wp-config.php
  • Added option to create ignore list in wp-config.php, the defaults are ‘your own wp’ and wordpress.org
    so that preloaders and updates won’t show up. If you have a lot of database lookups this WILL speed things up.

     define( 'inspect_http_requests_ignored_urls', [ 'wordpress.org', 'api.woocommerce.com', 'api', ]); 

1.0.7

  • Support WordPress 6.5

1.0.4

  • Support WordPress 6.3

1.0.3

  • Support WordPress 6.2

1.0.2

  • Fixe bug

1.0.0

  • Initial release

Details

  • Version: 1.0.8
  • Active installations: 100
  • WordPress Version: 3.0.1
  • Tested up to: 6.5.5

Ratings


5 Stars
4 Stars
3 Stars
2 Stars
1 Stars