Skip to main content
All settings endpoints are available since v1.8.0.

GET /settings

Returns the current plugin branding settings.
curl -X GET https://example.com/wp-json/wp-manager-pro/v1/settings \
  -H "X-WP-Nonce: YOUR_NONCE"

Response

plugin_name
string
Custom plugin name shown in the admin interface. Empty string if not set (falls back to the default name).
menu_label
string
Custom admin menu label. Empty string if not set.
logo_url
string
URL of a custom logo image. Empty string if not set.

POST /settings

Saves plugin branding settings. All fields are optional — omit any field to leave its current value unchanged.
curl -X POST https://example.com/wp-json/wp-manager-pro/v1/settings \
  -H "X-WP-Nonce: YOUR_NONCE" \
  -H "Content-Type: application/json" \
  -d '{"plugin_name": "Site Manager", "menu_label": "Manager", "logo_url": "https://example.com/logo.png"}'

Parameters

plugin_name
string
Custom display name for the plugin in the WordPress admin.
menu_label
string
Custom label for the plugin’s top-level admin menu item.
logo_url
string
URL of a custom logo image to display in the plugin header.

Response

success
boolean
Always true on success.
plugin_name
string
The saved plugin name.
menu_label
string
The saved menu label.
logo_url
string
The saved logo URL.

Build docs developers (and LLMs) love