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-only

Look 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.

Newsletter

The AI + WordPress space moves fast. Keep up.

New tools, workflow ideas, and product updates — be the first to know what's next.

No spam, unsubscribe anytime.