Home › Forums › WoodMart support forum › Woocommerce – reorder the columns name › Reply To: Woocommerce – reorder the columns name
January 8, 2019 at 12:39 pm
#100623
Eric Watson
Participant
Hello,
Try to add the following PHP code snippet to the child theme functions.php file to do this
function woodmart_custom_account_orders_columns() {
$columns = array(
'order-number' => __( 'Order', 'woocommerce' ),
'order-date' => __( 'Date', 'woocommerce' ),
'order-status' => __( 'Status', 'woocommerce' ),
'order-total' => __( 'Total', 'woocommerce' ),
'order-actions' => __( 'Actions', 'woocommerce' ),
);
return $columns;
}
add_filter( 'woocommerce_account_orders_columns', 'woodmart_custom_account_orders_columns' );
Kind Regards
XTemos Studio