Back to list of all filter and action hooks for Fluid Checkout Lite.
Description #
Fires inside each checkout step section, after the sub-steps contents are rendered.
Parameters #
$step_id(string) The step identifier.$step_args(array) Step configuration arguments$step_index(int) Zero-based index of the step in the checkout flow$context(string) Context in which the step is being output. Defaults tocheckout.
Examples #
/**
* Close dynamic wrapper div for checkout steps
*/
function fc_close_step_wrapper( $step_id, $step_args, $step_index, $context ) {
// Add closing comment for debugging
printf( '</div><!-- End fc-step-%s -->', esc_attr( $step_id ) );
}
add_action( 'fc_checkout_end_step', 'fc_close_step_wrapper', 10, 4 );
