=== Inspect HTTP Requests ===
Contributors: expresstechsoftware, webbdeveloper, sunnysoni, vanbom, eilandert
Donate link: https://paypal.me/supportets
Tags: log, wp_http, requests, update checks, api
Requires at least: 3.0.1
Tested up to: 6.8
Stable tag: 1.0.10
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html

Log, view, and Block WP HTTP requests

== Description ==
** 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:
<pre>
define( 'inspect_http_requests_default_block', true );
</pre>

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)
<pre>
define( 'inspect_http_requests_ignored_urls', [
        'your own site',
        'wordpress.org',
        'api.woocommerce.com',
        'wp-rocket.me',
        'ip-api.com',
        'ipinfo.io',
	'api',
]);
</pre>

= Important Links =
* [Github →](https://github.com/expresstechsoftware/inspect-http-requests)
* [Github →](https://github.com/FacetWP/log-http-requests)

== Installation ==

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

== Checkout Our Other Plugins ==
1. [Connect MemberPress and Discord](https://wordpress.org/plugins/expresstechsoftwares-memberpress-discord-add-on/)
2. [Connect PaidmembershipPro and Discord](https://wordpress.org/plugins/pmpro-discord-add-on/)
3. [Connect LearnPress and Discord](https://wordpress.org/plugins/connect-learnpress-discord-add-on/)
4. [Connect GamiPress and Discord](https://wordpress.org/plugins/connect-gamipress-and-discord/)
5. [Connect LifterLMS and Discord](https://wordpress.org/plugins/connect-lifterlms-to-discord/)
6. [Webhook For WCFM Vendors](https://wordpress.org/plugins/webhook-for-wcfm-vendors/)
7. [Connect LearnDash and Discord](https://wordpress.org/plugins/connect-learndash-and-discord/)
8. [Product Questions & Answers for WooCommerce](https://wordpress.org/plugins/product-questions-answers-for-woocommerce/)
9. [Connect Ultimate Member and Discord](https://wordpress.org/plugins/ultimate-member-discord-add-on/)
10. [Connect BadgeOS and Discord](https://wordpress.org/plugins/connect-badgeos-to-discord/)
11. [connect Eduma Theme and Discord](https://wordpress.org/plugins/connect-eduma-theme-to-discord/)

== Screenshots ==
1. The plugin menu is Available inside tools

== Changelog ==
= 1.0.10 =
* Fixe Stable tag version number in readme file

= 1.0.9 =
* Support WordPress 6.8

= 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.
<PRE>
  define( 'inspect_http_requests_ignored_urls', [
	'wordpress.org',
        'api.woocommerce.com',
        'api',
  ]);
</PRE>

= 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
