How to remove shipment’s table columns in Frontend Manager dashboard
To remove specific table column in the frontend manager dashboard is very easy.
Copy this code to the theme functions.php file.
Note: this hooks is available only in Frontend Manager Add on version 5.3.3 +
// Remove Shipment table Hook for Tracking Number remove_action( 'wpcfe_shipment_before_tracking_number_header', 'wpcfe_shipment_number_header_callback', 25 ); remove_action( 'wpcfe_shipment_before_tracking_number_data', 'wpcfe_shipment_number_data_callback', 25 ); // Remove Shipment Shipper / Receiver Column remove_action( 'wpcfe_shipment_after_tracking_number_header', 'wpcfe_shipper_receiver_shipment_header_callback', 25 ); remove_action( 'wpcfe_shipment_after_tracking_number_data', 'wpcfe_shipper_receiver_shipment_data_callback', 25 ); // Remove Shipment Type Column remove_action( 'wpcfe_shipment_table_header', 'wpcfe_shipment_table_header_type', 25 ); remove_action( 'wpcfe_shipment_table_data', 'wpcfe_shipment_table_data_type', 25 ); // Remove Shipment Status Column remove_action( 'wpcfe_shipment_table_header', 'wpcfe_shipment_table_header_status', 25 ); remove_action( 'wpcfe_shipment_table_data', 'wpcfe_shipment_table_data_status', 25 ); // Remove Shipment View Column remove_action( 'wpcfe_shipment_table_header', 'wpcfe_shipment_table_header_view', 25 ); remove_action( 'wpcfe_shipment_table_data','wpcfe_shipment_table_data_view', 25 ); // Remove Shipment Print Column remove_action( 'wpcfe_shipment_table_header_action', 'wpcfe_shipment_table_header_action_print', 25 ); remove_action( 'wpcfe_shipment_table_data_action', 'wpcfe_shipment_table_action_print', 25 ); // Remove Shipment Update Column remove_action( 'wpcfe_shipment_table_header_action', 'wpcfe_shipment_table_header_action_update', 25 ); remove_action( 'wpcfe_shipment_table_data_action', 'wpcfe_shipment_table_action_update', 25 ); // Remove Shipment Delete Column remove_action( 'wpcfe_shipment_table_header_action', 'wpcfe_shipment_table_header_action_delete', 25 ); remove_action( 'wpcfe_shipment_table_data_action', 'wpcfe_shipment_table_action_delete', 25 );