wp_get_customizer_setting
Read one supported registered Customizer setting, including its stored value or registered default, storage presence, and fingerprint. Preserve existing layout components, logo and menu assignments unless the user requests changes. Use the exact ID and fingerprint for wp_update_customizer_setting. Filters and Additional CSS may affect rendering; inspect them separately.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"site_id": "<site_id>",
"id": "<id>"
},
"name": "wp_get_customizer_setting"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Exact ID from wp_list_customizer_settings. | |
| site_id | Yes | The connected site's id returned by list_sites. Call list_sites first; do not use a URL or WordPress post ID. |