How to remove sections in adding/updating shipments in wp-admin

Add this code to your child theme’s functions.php file:

add_action( 'add_meta_boxes' , 'wpdocs_remove_post_custom_fields', 10 );
function wpdocs_remove_post_custom_fields() {
	//Assign to metabox
    remove_meta_box( 'wpcargo_shipment_designation' , 'wpcargo_shipment' , 'side' ); 
	
	//History metabox
	remove_meta_box( 'wpcargo_shipment_history' , 'wpcargo_shipment', 'advanced' );
}

SHIPMENT HISTORY SECTION

shipment-history-mb

ASSIGN SHIPMENT TO SECTION

assign-shipment-to
0
    0
    Your Cart
    Your cart is emptyReturn to Shop