List installed WordPress plugins
List plugins installed on a WordPress installation, including their status, available updates and known vulnerabilities.
List plugins installed on a WordPress installation, including their status, available updates and known vulnerabilities.
Provide the WordPress installation (software) identifier in the path. It can
be obtained from GET /api/hosting/v1/wordpress/installations (the id field).
API Token authentication
u123456789WordPress installation (software) identifier
1232456789Pattern: ^[0-9]+$Filter installed plugins by category.
cachePossible values: Success response
Plugin slug
akismetHuman readable plugin name
Akismet Anti-SpamInstalled plugin version
5.3Whether the plugin is active or inactive
activePossible values: Available update version, or "none" when up to date
noneUnauthenticated response
Error response
GET /api/hosting/v1/accounts/{username}/wordpress/{software}/plugins HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
[
{
"name": "akismet",
"title": "Akismet Anti-Spam",
"version": "5.3",
"status": "active",
"update": "none",
"vulnerabilities": [
{
"title": "Cross-Site Scripting (XSS)",
"description": "A stored XSS vulnerability affecting older versions.",
"affected_in": "4.7.0",
"fixed_in": "4.7.1",
"direct_url": "https://www.wordfence.com/threat-intel/vulnerabilities/id/example"
}
]
}
]Last updated
Was this helpful?