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
- Connect MemberPress and Discord
- Connect PaidmembershipPro and Discord
- Connect LearnPress and Discord
- Connect GamiPress and Discord
- Connect LifterLMS and Discord
- Webhook For WCFM Vendors
- Connect LearnDash and Discord
- Product Questions & Answers for WooCommerce
- Connect Ultimate Member and Discord
- Connect BadgeOS and Discord
- connect Eduma Theme and Discord
Installation
- Download and activate the plugin.
- Browse to
Tools > Inspect HTTP Requests
to view log entries.
Screenshots
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
1.0.4
1.0.3
1.0.2
1.0.0