wpcfe_shipment_table_data_action

“wpcfe_shipment_table_data_action” an action hook is use to add additional column in the shipment table data. This hook will display after the action column.

Note: You must have custom table header added already for the custom data. Please check this hook “wpcfe_shipment_table_header_action”

Copy and paste the following to for customized the label in the theme functions.php file


add_action( 'wpcfe_shipment_table_data_action', function( $shiment_id ){
	// Note: Use the $shipment_id variable to get shipment data
	?>
    <th class="no-space">Action Value <?php echo $shiment_id; ?></th>
    <?php
}, 25 );

3
    3
    Your Cart
    Remove
    WPCargo Standard Package
    1 X $119.00 = $119.00
    Remove
    WPCargo Vehicle Rate
    1 X $340.90 = $340.90
    Remove