wpcfe_shipment_before_tracking_number_header

“wpcfe_shipment_before_tracking_number_header” action hook is used to display the shipment table header for the “Tracking Number“. Using this hook you may update the header text from the default text to other header text.

Copy and paste the following code to the theme functions.php file.


// Remove the header hook
remove_action( 'wpcfe_shipment_before_tracking_number_header', 'wpcfe_shipment_number_header_callback', 25 );

// Add new hook for the custom label
add_action( 'wpcfe_shipment_before_tracking_number_header', function(){
    echo '<th>My Custom Header</th>';
}, 25 );

2
    2
    Your Cart
    Remove
    Remove
    WPCargo Vehicle Rate
    1 X $340.90 = $340.90