wpcargo_track_shipment_details

“wpcargo_track_shipment_details” hook is used to add additional information in the shipment details in track results. Note: It accepts 1 parameter for shipment information.

Copy and paste this sample code in the theme functions.php file.

function wpcargo_track_shipment_details_custom_callback( $shipment ){
		?>
<div class="wpcargo-col-md-12">
    <p id="shipment-information-header" class="header-title"><strong><?php echo apply_filters('result_shipment_information', esc_html__('Additional Shipment Information', 'wpcargo')); ?></strong></p></div>
	<div class="wpcargo-col-md-12">
    	<p class="wpcargo-label"><?php esc_html_e('Vitae salutatus assentior', 'wpcargo') . ''; ?></p>
        <p class="wpcargo-label-info">Has ut alia audire expetendis, purto consequuntur concludaturque vim ad, summo solet timeam sea te. Id munere nostrud fabellas vis. Nam cu duis corpora. Cu quo modus offendit dissentiunt, ei equidem perfecto nam, nec etiam dicta feugait an. Ex iusto utamur saperet his.
</p>
    </div>
    <div class="wpcargo-col-md-12">
    	<p class="wpcargo-label"><?php esc_html_e('Id munere nostrud', 'wpcargo') . ''; ?></p>
        <p class="wpcargo-label-info">In cum audire invidunt evertitur, ex per eruditi accusam vituperatoribus. Dicat falli omittam ei nam, usu modus equidem gloriatur ex. Nulla quidam fierent mel an. Usu et vide autem singulis, ea omnesque scripserit eam, latine maiorum consectetuer has eu.</p>
    </div>
    <div class="wpcargo-col-md-12">
    	<p class="wpcargo-label"><?php esc_html_e('Causae mandamus', 'wpcargo'); ?></p>
        <p class="wpcargo-label-info">Diam porro sapientem mel eu. Quo habemus ponderum luptatum ut, vix te dicam singulis convenire. Brute verear laoreet duo ex, eu pri alii oratio detraxit. Malorum voluptatibus in vis. Eam cu congue docendi, te sonet consulatu signiferumque has, ad mentitum forensibus sed.</p>
    </div>

		<?php
}
add_action( 'wpcargo_track_shipment_details', 'wpcargo_track_shipment_details_custom_callback', 20, 1 );

Screenshot:

0
    0
    Your Cart
    Your cart is emptyReturn to Shop