From 39bde22e56568a31054978e327405c988675df98 Mon Sep 17 00:00:00 2001 From: "nils-fredrik@maksimer.no" Date: Fri, 8 Sep 2017 21:34:55 +0200 Subject: [PATCH] Apply filter to posted data in checkout. --- includes/class-wc-checkout.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-wc-checkout.php b/includes/class-wc-checkout.php index 5bd9de2acad..00a8cc7cdeb 100644 --- a/includes/class-wc-checkout.php +++ b/includes/class-wc-checkout.php @@ -592,7 +592,7 @@ class WC_Checkout { // BW compatibility. $this->legacy_posted_data = $data; - return $data; + return apply_filters( 'woocommerce_checkout_posted_data', $data ); } /**