How to rearrange delivery date column in edit order table ?
-
I want to show delivery date column in 2nd position in edit order table. Here is the code snippet I’m trying.
[code]
add_filter( 'manage_edit-shop_order_columns', 'Delivery_Date');function Delivery_Date( $columns_array ) {
// I want to display delivery date column after order
return array_slice( $columns_array, 0, 2, true )
+ array( 'order_delivery_date' => 'Delivery Date' )
+ array_slice( $columns_array, 2, NULL, true );
}
[/code]
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘How to rearrange delivery date column in edit order table ?’ is closed to new replies.