Back to list of all filter and action hooks for Fluid Checkout Lite.
Description #
Fires after the list of added coupon codes in the coupons section.
It triggers within the output buffer after all applied coupon codes have been displayed, but before the sub-step content is finalized.
Examples #
/**
* Add promotional text after coupon codes display
*/
function add_coupon_codes_promotional_text() {
// Only show if there are coupons applied
if ( WC()->cart->get_coupons() ) {
echo '<div class="fc-coupon-codes-promo">You are saving money!</div>';
}
}
add_action( 'fc_substep_coupon_codes_text_after', 'add_coupon_codes_promotional_text', 10 );
