fc_pro_after_shipping_calculator
Type: Action
Fires after the shipping calculator.
Signature
do_action( 'fc_pro_after_shipping_calculator' );
Parameters
This hook does not pass any parameters.
Since
1.2.0
Source: templates/fc-pro/cart/cart/shipping-calculator.php
Examples
add_action( 'fc_pro_after_shipping_calculator',
/**
* Add shipping information after calculator.
*/
function() {
echo '<div class="shipping-info">';
echo '<p><small>' . esc_html__( 'Free shipping on orders over $50', 'text-domain' ) . '</small></p>';
echo '</div>';
},
10
);
add_action( 'fc_pro_after_shipping_calculator',
/**
* Add custom content after shipping calculator.
*/
function() {
echo '<div class="shipping-info">Need help? Contact our support team.</div>';
},
10
);