ROB (rat out blocker)
ROB (rat out blocker)
Description
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.
Installation
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 the plugin settings page and put your restrictions
Faq
You can use for that Log HTTP Requests plugin
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.
Plugin can convert your answer to array, object or leave string as is
Reviews
Changelog
1.1.1
- Test WP 6.8.1 compatibility
1.1.0
- Add request body filter to skip Rob impact for same url
- Add more security checks
1.0.4
- Add blueprint.json for wp plugin page preview button
1.0.3
- Test WP 6.5.2 compatibility
- Fix codex issues
1.0.2
- Test WP 6.4.3 compatibility
1.0
- Basic functionality released.
