Get WordPress settings
Returns the current WordPress settings for an Agency Plan website: installed core version, LiteSpeed Cache plugin status, object cache status, and maintenance mode status.
Returns the current WordPress settings for an Agency Plan website: installed core version, LiteSpeed Cache plugin status, object cache status, and maintenance mode status.
Authorizations
AuthorizationstringRequired
API Token authentication
Path parameters
website_uidstringRequiredExample:
Agency Plan website UID
zpwlGlp19Responses
200
Success response
application/json
core_versionstring · nullableOptionalExample:
Currently installed WordPress core version, or null when it cannot be determined.
6.5.5is_lite_speed_cache_enabledbooleanOptionalExample:
Whether the LiteSpeed Cache plugin is active.
trueis_object_cache_enabledbooleanOptionalExample:
Whether LiteSpeed object cache is enabled.
falseis_maintenance_mode_enabledbooleanOptionalExample:
Whether WordPress maintenance mode is currently enabled.
false401
Unauthenticated response
application/json
500
Error response
application/json
get/api/agency-hosting/v1/websites/{website_uid}/wordpress/settings
GET /api/agency-hosting/v1/websites/{website_uid}/wordpress/settings HTTP/1.1
Host: developers.hostinger.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"core_version": "6.5.5",
"is_lite_speed_cache_enabled": true,
"is_object_cache_enabled": false,
"is_maintenance_mode_enabled": false
}Last updated
Was this helpful?