wpcargo_shipment_history_header
“wpcargo_shipment_history_header” hook is used to add header in the shipment history table. Note: It accepts 1 parameter for shipment information.
Copy and paste this sample code in the theme functions.php file.
function wpcargo_shipment_history_header_callback($shipment){ ?> <th class="tbl-sh-action">Custom Header</th> <?php } add_action('wpcargo_shipment_history_header', 'wpcargo_shipment_history_header_callback', 10, 1);
Screenshot: