fc_review_order_shipping
Type: Action
Fires where the chosen shipping method is rendered in the order review.
Signature
do_action( 'fc_review_order_shipping' );
Parameters
This hook does not pass any parameters.
Since
1.2.0
Source: templates/fc/checkout-steps/checkout/review-order.php
Examples
add_action( 'fc_review_order_shipping',
/**
* Replace the shipping total costs with a custom message.
*/
function() {
?>
<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
},
10
);