Adding columns in woocommerce admin orders list

Written on 01/07/2023 in Tips

In the example below, we add 2 new custom columns, before existing “Total” and “Actions” columns. // ADDING 2 NEW COLUMNS WITH THEIR TITLES (keeping “Total” and “Actions” columns at the end) add_filter( ‘manage_edit-shop_order_columns’, ‘custom_shop_order_column’, 10 ); function custom_shop_order_column($columns) { $reordered_columns = array(); // Inserting columns to a specific location foreach( $columns as $key =>…

Continue reading

Refund Reason