wpcargo_before_track_result_form

“wpcargo_before_track_result_form” action hook is used to add addition data before track result section.

This is a sample hook code to add disclaimer information, copy and paste this code to the theme functions.php file.


function my_custom_before_track_result_form( $shipment ){
    ?>
    <section class="wpcargo-col-md-12" style="text-align:center; margin: 26px;">
        <h3 class="section-title wpccf_section_header">Disclaimer</h3>
        <p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Donec odio. Quisque volutpat mattis eros. Nullam malesuada erat ut turpis. Suspendisse urna nibh, viverra non, semper suscipit, posuere a, pede.
		</p>
    </section>
    <?php
}
 
add_action( 'wpcargo_before_track_result_form', 'my_custom_before_track_result_form' );

Screenshot:

2
    2
    Your Cart
    Remove
    WPCargo Shipment Rate
    1 X $79.00 = $79.00
    Remove
    WPCargo Shipping Rate Package
    2 X $340.90 = $681.80