Custom Update Request Modifier
Modifies the user-agent string in HTTP requests for theme, plugin, core, and other WordPress API requests. Allows custom API URL configuration, logs request details including headers and body, and excludes non-WordPress.org plugins from update checks.
by Robert DeVore · github.com/robertdevore/custom-update-request-modifier · website
★ 11stars
13release downloads
0forks
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/robertdevore/custom-update-request-modifier/releases/download/1.0.1/custom-update-request-modifier.zipDeclares an update source (https://github.com/robertdevore/custom-update-request-modifier/), so updates arrive through the plugin's own updater.
From the readme
Custom Update Request Modifier
This free plugin for WordPress® modifies HTTP request user-agent strings for themes, plugins, core updates, and other WordPress API requests.
It offers custom API URL configuration, logs request details including headers and body, and excludes plugins and themes with a custom Update URI in their headers from update checks.
Features
- Modify user-agent strings for specific HTTP requests to replace the site URL with WordPress.org.
- Configure custom API URLs for monitoring HTTP requests.
- Log request headers, body, and response status codes in a custom database table.
- Exclude plugins and themes with a specified Update URI header from update checks.
- Supports separate update checks for plugins and themes.
Installation
1. Clone or download the plugin to your wp-content/plugins directory.
2. Activate the plugin through the WordPress admin dashboard under Plugins.
3. Upon activation, the plugin creates a custom logging table in the database for tracking requests and schedules daily log clearing.
Usage
Request Modification
Once activated, the plugin intercepts HTTP requests to specific WordPress API endpoints and modifies the user-agent header by r
Read the full README on GitHub →