How to manipulate container columns

Note: Put your code in functions.php of your current theme.

    function custom_manipulate_container_columns_callback($columns){
       // Remove columns
       unset($columns['flight']);
       unset($columns['shipments']);
       unset($columns['agent']);
       unset($columns['delivery_agent']);
       unset($columns['status']);
       unset($columns['scprint']);
       unset($columns['scmanifest']);


       // Rename columns
       $columns['flight'] = 'Flight Label';
       $columns['shipments'] = 'Shipment Label';
       $columns['agent'] = 'Agent Column Label';
       $columns['delivery_agent'] = 'Delivery Agent Label';
       $columns['status'] = 'Status label';
       $columns['scprint'] = 'Print Label';
       $columns['scmanifest'] = 'Manifet Label';

       return $columns;
    }
    add_filter('wpcsc_table_key_label', 'custom_manipulate_container_columns_callback');
    
0
    0
    Your Cart
    Your cart is emptyReturn to Shop