For the complete documentation index, see llms.txt. This page is also available as Markdown.

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.

Get WordPress settings

get

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_uidstringRequired

Agency Plan website UID

Example: zpwlGlp19
Responses
200

Success response

application/json
core_versionstring · nullableOptional

Currently installed WordPress core version, or null when it cannot be determined.

Example: 6.5.5
is_lite_speed_cache_enabledbooleanOptional

Whether the LiteSpeed Cache plugin is active.

Example: true
is_object_cache_enabledbooleanOptional

Whether LiteSpeed object cache is enabled.

Example: false
is_maintenance_mode_enabledbooleanOptional

Whether WordPress maintenance mode is currently enabled.

Example: false
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?