From 1206d085214938b62aa5670d065a1ca454d71e6f Mon Sep 17 00:00:00 2001 From: Filipe Duarte Date: Mon, 21 Aug 2023 16:27:33 -0300 Subject: [PATCH] replaces the deprecated woocommerce_my_account_my_orders_columns hook with woocommerce_account_orders_columns --- Services/TrackingService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Services/TrackingService.php b/Services/TrackingService.php index 0109e906d..a2f7554b1 100644 --- a/Services/TrackingService.php +++ b/Services/TrackingService.php @@ -73,7 +73,7 @@ public function getTrackingOrder( $orderId ) { */ public function createTrackingColumnOrdersClient() { add_filter( - 'woocommerce_my_account_my_orders_columns', + 'woocommerce_account_orders_columns', function ( $columns ) { $newColumns = array(); foreach ( $columns as $key => $name ) {