Management and reporting WordPress plugin for 10 Degrees Support and maintenance clients.
- Provides a Dashboard widget to show plugin updates, website performance
- A report of the above can be emailed to one address
- Disables plugin and theme auto-update UI
- Disables full site editing
Run composer install to install dependencies.
The plugin provides token-protected endpoints under 10d-support/v1.
Authentication:
- Header:
X-API-Key: <td_rest_api_key> - Or query param:
api_key=<td_rest_api_key>
POST /wp-json/10d-support/v1/updates/plugins/queue
Body params:
webhook_url(optional): URL to receive async completion payloadwebhook_token(optional): sent asX-Webhook-Tokenon webhook request
Success response (202):
success: truesummary: Plugin updates queued.job_id: <uuid>
Notes:
- Runs asynchronously via WP-Cron.
- If one plugin fails, remaining plugins still continue.
- Concurrent runs are blocked for 15 minutes.
POST /wp-json/10d-support/v1/updates/core/queue
Body params:
allow_major(optional boolean): settrueto allow major core updateswebhook_url(optional): URL to receive async completion payloadwebhook_token(optional): sent asX-Webhook-Tokenon webhook request
Success response (202):
success: truesummary: Core update queued.job_id: <uuid>allow_major: <bool>
Queue and worker execution are blocked when:
- WordPress is currently in maintenance mode (
.maintenancepresent) - Filesystem method is not
direct(credentials would be required) - Filesystem API initialization fails
When webhook_url is provided, the plugin sends:
success(bool)job_id(string)type(pluginsorcore)updated(int)failed(int)summary(string)site_url(string)timestamp(mysql datetime)
- Increment the Version in
10d-support-report.php. Please use semantic versioning. - Tag a new Release on Github. See Tagging. You can tag within git but it's preferable if you create a new Tag and Release on Github.
TBC.