| 开发者 |
webtendhq
devhasib |
|---|---|
| 更新时间 | 2026年10月21日 17:50 |
| PHP版本: | 8.0 及以上 |
| WordPress版本: | 7.1 |
| 版权: | GPLv2 or later |
| 版权网址: | 版权信息 |
checkflow_loaded — fires after plugin initialises
checkflow_step_validated — fires after a step passes validation
checkflow_activated — fires on plugin activation
Filters:
checkflow_checkout_steps — modify the step definitions array
checkflow_progress_style — override the progress style
checkflow_step_field_map — modify required fields per step
checkflow_trust_badge_definitions — add or modify trust badges
checkflow_skip_shipping_step — force-skip or force-include the shipping step (return true/false/null)
Template Overrides
Copy any template from wp-content/plugins/checkflow-for-woocommerce/templates/ to wp-content/themes/your-theme/checkflow/ and modify freely. Plugin updates will never overwrite your copies.
checkout/step-nav.php — step progress indicatorcheckout/trust-badges.php — trust badges containercheckflow-for-woocommerce folder to /wp-content/plugins/ or install via Plugins → Add New.Yes. CheckFlow automatically detects when a cart contains only virtual or downloadable products and skips the Shipping step entirely — customers go straight from Information to Payment. No configuration needed.
To override this behaviour, use the checkflow_skip_shipping_step filter:
add_filter( 'checkflow_skip_shipping_step', '__return_false' ); // always show shipping
Yes. CheckFlow uses standard WooCommerce hooks and adds CSS classes that work alongside any theme. If you need to adjust styles, copy the templates to your theme for full control.
The multi-step module targets the classic WooCommerce checkout shortcode ([woocommerce_checkout]). WooCommerce Blocks checkout is not supported in this version.
CheckFlow uses standard WooCommerce hooks and does not modify page builder output. If you use Elementor Pro's Checkout widget, the multi-step module may conflict — disable it from Settings and use trust badges only.
Yes. CheckFlow declares compatibility with WooCommerce High-Performance Order Storage (custom order tables).
Yes. Use the checkflow_trust_badge_definitions filter:
add_filter( 'checkflow_trust_badge_definitions', function( $badges ) { $badges['my_badge'] = [ 'label' => 'Verified Store', 'svg' => '<svg ...>...</svg>', ]; return $badges; } );
By default, your settings are kept so reinstalling restores them. Enable Remove Data on Uninstall in Settings → General before deleting the plugin if you want a completely clean removal.
checkflow_skip_shipping_step filter for developer control over step skipping.totalSteps now reads from array length instead of Object.keys() for correct 2-step flow.