Skip to main content

fc_checkout_steps

Type: Action

Fires inside the checkout form where the checkout steps are rendered.

Signature​

do_action( 'fc_checkout_steps', $checkout );

Parameters​

NameTypeDescription
$checkout\WC_CheckoutCheckout object.

Since​

  • 1.2.0

Source: templates/fc/checkout-steps/checkout/form-checkout.php

Examples​

add_action( 'fc_checkout_steps',
/**
* Custom steps output.
*
* @param \WC_Checkout $checkout Checkout object.
*/
function( $checkout ) {
echo '<div class="custom-steps">Custom steps content</div>';
},
1
);