Linux 软件免费装

Log HTTP Requests

开发者 mgibbs189
更新时间 2023年7月17日 19:54
PHP版本: 5.0 及以上
WordPress版本: 6.2.2
版权: GPLv2

标签

log api requests wp_http update checks

下载

详情介绍:

Log and view all WP HTTP requests How long do [core / plugin / theme] update checks take to run? What data about my site is being sent out? What about all those ajax requests? The answers to these questions are just a few clicks away. 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. Available Hooks Customize the length (in days) before older log items are removed: add_filter( 'lhr_expiration_days', function( $days ) { return 7; // default = 1 }); Don't log items from a specific hostname: add_filter( 'lhr_log_data', function( $data ) { if ( false !== strpos( $data['url'], 'wordpress.org' ) ) { return false; } return $data; }); In the above example, the $data array keys correspond to columns within the lhr_log database table. Important Links

安装:

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

更新日志:

= 1.4.1 1.4 1.3.2 1.3.1 1.3 1.2 1.1 1.0.4 1.0.3 1.0.2 1.0.1 1.0.0