WordPress: Themes
List installed WordPress themes
Changed onList themes 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).
get/api/hosting/v1/accounts/{username}/wordpress/{software}/themes
Request
- Base URL: https://developers.hostinger.com
- URL: https://developers.hostinger.com/api/hosting/v1/accounts/{username}/wordpress/{software}/themes
- Auth: HTTP bearer
Path parameters
usernamestring required
Example:u123456789
softwarestring required
Example:1232456789
WordPress installation (software) identifier
Response
Success response
Example response
[
{
"name": "twentytwentyone",
"title": "Twenty Twenty-One",
"version": "2.2",
"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"
}
]
}
]Changes
- info
endpoint added
- info
- breaking
api path removed without deprecation
- breaking