Skip to main content

fc_pro_cart_review_order_shipping

Type: Action

Fires when outputting the cart review order shipping.

Signature​

do_action( 'fc_pro_cart_review_order_shipping' );

Parameters​

This hook does not pass any parameters.

Since​

  • 1.4.1

Source: templates/fc-pro/cart/cart/review-order-cart.php

Examples​

add_action( 'fc_pro_cart_review_order_shipping',
/**
* Add shipping estimate notice.
*/
function() {
echo '<tr class="shipping-estimate">';
echo '<td colspan="2"><small>' . esc_html__( 'Shipping calculated based on your location', 'text-domain' ) . '</small></td>';
echo '</tr>';
},
15
);