Get Setting is a WordPress ability from Cart Abandonment Recovery for WooCommerce — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.
Install Free Plugin →Get Setting
Read-onlyLook up the current value and metadata for one specific setting by key or label.
Requires the Cart Abandonment Recovery for WooCommerce plugin (which itself requires WooCommerce active) on a WordPress core with the Abilities API available — each ability's registration is guarded by a function_exists('wp_register_ability') check. Every ability also requires the current user to have the 'manage_woocommerce' capability.
What it does
This ability returns the current value and metadata for a single setting, resolved either by its exact option key (e.g. 'wcf_ca_status') or by a case-insensitive match on its human-readable label (e.g. 'Enable Tracking'). The response includes the key, label, value, field type, description, and which tab/section it belongs to. If neither key nor name is provided, or the setting can't be resolved, it returns an error instead. It's meant to be called before wcar/update-setting, to confirm a setting exists and record its current value.
See it in action
You ask your AI assistant
"What's the current value of the 'Enable Tracking' setting in Cart Abandonment Recovery?"
Inputs
| Name | Type | Required | Description |
|---|---|---|---|
| key | string | No | Option key to look up (e.g. 'wcf_ca_status'). |
| name | string | No | Human-readable label to search for (case-insensitive, e.g. 'Enable Tracking'). |
Returns
An object with key, label, value, type, description, tab, tab_title, and section for the matched setting, or an error if no key/name was given or no match was found.
Permission
The current user must have the 'manage_woocommerce' capability.
More Cart Abandonment Recovery for WooCommerce abilities
Get All Settings
Retrieve every plugin setting, grouped by tab, with each setting's current value.
Get Dashboard Stats
Pull aggregated cart abandonment, recovery, and lost-order stats for a date range.
Get Product Stats
List the top abandoned products, ranked by how often they were left in a cart.
Update Setting
Write a new value to one plugin setting, identified by key or label.