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 );

0
    0
    Your Cart
    Your cart is emptyReturn to Shop