Get thank you step 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 →

Get thank you step settings

Read-only
CartFlows Ecommerce cartflows/get-thankyou-settings

Read the full configuration of a CartFlows thank-you step.

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 returns a thank-you step's layout skin, section visibility toggles (order overview, order details, billing, shipping), custom thank-you text, redirect settings, and design options. Requires WooCommerce. Use it to inspect or audit a thank-you step before adjusting it with the more targeted update-thankyou-* abilities.

See it in action

You ask your AI assistant

"Show me the current thank-you page settings for step 120."

Inputs

Name Type Required Description
step_id integer Yes The thank you step ID.

Returns

An object with step_id, layout (legacy-tq-layout or modern-tq-layout), a sections object (show_overview, show_details, show_billing, show_shipping), custom_text, a redirect object (enabled, redirect_url), and a design object. Requires WooCommerce.

Permission

The current user must have the 'cartflows_manage_flows_steps' capability; this read-only ability has no additional option gate.

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.