From f0c04b019b2e7027e9ba27d2a92c35a2f39eb291 Mon Sep 17 00:00:00 2001 From: Mike Jolley Date: Thu, 7 Dec 2017 15:33:26 +0000 Subject: [PATCH] Rename filter and pass order --- includes/class-wc-order.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-wc-order.php b/includes/class-wc-order.php index 90be035a99e..63fe7611422 100755 --- a/includes/class-wc-order.php +++ b/includes/class-wc-order.php @@ -1381,7 +1381,7 @@ class WC_Order extends WC_Abstract_Order { } } - return apply_filters( 'woocommerce_get_downloadable_items', $downloads ); + return apply_filters( 'woocommerce_order_get_downloadable_items', $downloads, $this ); } /**