ROB (rat out blocker)

描述

With this simple plugin you can restrict extra external requests made with internal WordPress WP_Http class.
Just put in the filter rules field what you wish to restrict. One url part or url regex per line.
By default, the plugin returns WP_Error answer for restricted requests. But you can put in response your custom response data.

螢幕截圖

  • Main plugin page with rules field and placeholder examples

安裝

This section describes how to install the plugin and get it working.

  1. Upload the plugin files to the /wp-content/plugins/rob-rat-out-blocker directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Go to the plugin settings page and put your restrictions

常見問題

How to find or detect outgoing requests

You can use for that Log HTTP Requests plugin

Which format for custom answer accepted

You should put (if you need it) JSON encoded string. Then you say to plugin how to represent response format and it convert your string in required format.

Which answer format accepted

Plugin can convert your answer to array, object or leave string as is

評價

There are no reviews for this plugin.

貢獻者及開發者

“ROB (rat out blocker)” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

ROB (rat out blocker) 外掛目前已有 1 個本地化語言版本。 感謝所有譯者為這個外掛做出的貢獻。

將 ROB (rat out blocker) 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0

  • Basic functionality released.

1.0.2

  • Test WP 6.4.3 compatibility

1.0.3

  • Test WP 6.5.2 compatibility
  • Fix codex issues

1.0.3

  • Add blueprint.json for wp plugin page preview button