[WordPress] 外掛分享: Inspect HTTP Requests

首頁外掛目錄 › Inspect HTTP Requests
WordPress 外掛 Inspect HTTP Requests 的封面圖片
100+
安裝啟用
★★★★★
5/5 分(2 則評價)
308 天前
最後更新
問題解決
WordPress 3.0.1+ v1.0.10 上架:2022-06-16

內容簡介

** 本插件的靈感來自於 log-http-requests 插件 **

監視經由 WP HTTP Methods (wp_remote_get、wp_remote_post) 進行的所有 HTTP 請求,只需按一個按鈕即可封鎖任何請求。
追蹤像更新核心/外掛/佈景主題之類的請求所需的時間(可能對頻寬消耗分析有用),

此插件記錄所有 WP_HTTP 請求並將它們顯示在易於查看的表格列表中。它還存儲每個 HTTP 請求的運行時間。

可用的 Hooks

不要記錄來自特定主機名的項目:

add_filter( 'ets_inspect_http_requests_ignore_hostname', function( $data ) {
if ( false !== strpos( $data['url'], 'wordpress.org' ) ) {
return false;
}
return $data;
});

重要連結

Github →
Github →

查看我們的其他插件

連接 MemberPress 和 Discord
連接 PaidmembershipPro 和 Discord
連接 LearnPress 和 Discord
連接 GamiPress 和 Discord
連接 LifterLMS 和 Discord
WCFM Vendors 的 Webhook
連接 LearnDash 和 Discord
WooCommerce 的產品問答
連接 Ultimate Member 和 Discord
連接 BadgeOS 和 Discord
連接 Eduma 主題和 Discord

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.10) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Inspect 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

Github →
Github →

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

延伸相關外掛

文章
Filter
Apply Filters
Mastodon