Back to list of all filter and action hooks for Fluid Checkout Lite.
Description #
Fires to output the shipping costs row in the order summary.
Used to output a table row with the selected shipping costs in the order summary totals table.
Examples #
/**
* Replace the shipping total costs with a custom message.
*/
function replace_shipping_total_costs_with_custom_message() {
?>
<tr class="woocommerce-shipping-totals shipping">
<th>Shipping totals</th>
<td data-title="Shipping totals">
<span class="shipping_method_totals"><?php echo esc_html( 'My custom message about shipping totals.', 'your-text-domain' ); ?></span>
</td>
</tr>
<?php
}
add_action( 'fc_review_order_shipping', 'replace_shipping_total_costs_with_custom_message', 10 );
