Update general settings is a WordPress ability from CartFlows — usable via Easy MCP AI, which connects Claude, ChatGPT, and any AI assistant to your site.

Install Free Plugin →

Update general settings

Write
CartFlows Ecommerce cartflows/update-general-settings

Update CartFlows' global page builder, checkout override, and indexing settings.

Requires the CartFlows plugin on WordPress 6.9+, since abilities only register when WordPress's Abilities API (wp_register_ability / WP_Ability) is available. Every ability additionally requires the current user to hold the 'cartflows_manage_flows_steps' capability. Flow and step lifecycle abilities (publish, unpublish, clone, trash, restore, update, reorder, clone-step, update-step-title) are further gated by the 'cartflows_abilities_api_edit' site option, while settings, checkout, thank-you, optin, email-report, product-mapping, creation, and template-import abilities are gated by the separate 'cartflows_abilities_api_write' option — both default to enabled but let site admins disable write access independently. WooCommerce must also be active for the analytics, checkout, thank-you, optin, and product-flow-mapping abilities, and for importing flow templates.

What it does

This ability updates CartFlows' site-wide settings: the default page builder, the global checkout flow, the override_global_checkout flag, and the disallow_indexing flag. Only the fields you provide are changed; anything omitted keeps its current value. Call get-general-settings first to see the current configuration.

See it in action

You ask your AI assistant

"Set Elementor as the default page builder and enable disallow_indexing for CartFlows steps."

Inputs

Name Type Required Description
default_page_builder string No The page builder to set as default: elementor, gutenberg, divi, beaver-builder, or bricks-builder.
global_checkout string No Post ID of the global checkout flow, or empty string to unset.
override_global_checkout string No enable or disable — whether to override the WooCommerce checkout with the CartFlows global checkout.
disallow_indexing string No enable or disable — whether to block search engine indexing of CartFlows steps.

Returns

An object with a result message and a settings object containing the full merged, updated settings state.

Permission

The current user must have the 'cartflows_manage_flows_steps' capability, and the 'cartflows_abilities_api_write' site option (enabled by default) must not be disabled.

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.