Back to list of all filter and action hooks for Iconic WooCommerce Delivery Slots Compatibility.
Description #
This action hook fires after the delivery slots fields are rendered in the checkout process.
The hook is called within an output buffer, so any content you output becomes part of the final delivery slots section HTML.
Examples #
/**
* Output substep state hidden fields for delivery slots.
*/
public function output_substep_state_hidden_fields_delivery_slots() {
$substep_visible = $this->is_substep_delivery_slots_visible() ? 'yes' : 'no';
echo '<input class="fc-substep-visible-state" type="hidden" value="' . $substep_visible . '" />';
}
add_action( 'fc_pro_woo_delivery_slots_after_fields', 'output_substep_state_hidden_fields_delivery_slots', 5 );
