wpcargo_shipment_history_data_editable

“wpcargo_shipment_history_data_editable” hook is used to add additional information after the package details. Note: It accepts 1 parameter for shipment information.

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

function wpcargo_shipment_history_data_editable_callback($shipment){ ?>
<td>Custom History Data</td>
<?php
}

add_action('wpcargo_shipment_history_data_editable', 'wpcargo_shipment_history_data_editable_callback', 10, 1);

Screenshot:

0
    0
    Your Cart
    Your cart is emptyReturn to Shop