With this simple plugin you can restrict extra external requests made with internal wordpress WP_Http class.
Just put in filter rules field what you wish to restrict. One url part or url regex per line.
By default plugin return WP_Error answer for restricted requests. But you can put in response your custom response data.
This section describes how to install the plugin and get it working.
- Upload the plugin files to the
/wp-content/plugins/rob-rat-out-blockerdirectory, or install the plugin through the WordPress plugins screen directly.
- Activate the plugin through the ‘Plugins’ screen in WordPress.
- Go to 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.
Contributors & Developers
“ROB (rat out blocker)” is open source software. The following people have contributed to this plugin.Contributors
“ROB (rat out blocker)” has been translated into 1 locale. Thank you to the translators for their contributions.
Translate “ROB (rat out blocker)” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
- Basic functionality released.