From 344fb4963b96a23833861eac60be40b8b9ab6a15 Mon Sep 17 00:00:00 2001 From: Dallen Dalton Date: Fri, 23 Aug 2019 22:21:31 +0000 Subject: [PATCH] Add filter for data on customer sync --- includes/class-taxjar-customer-record.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/class-taxjar-customer-record.php b/includes/class-taxjar-customer-record.php index f9cb6537..0b94c72f 100644 --- a/includes/class-taxjar-customer-record.php +++ b/includes/class-taxjar-customer-record.php @@ -256,8 +256,8 @@ public function get_data_from_object() { $customer_data[ 'street' ] = $address; } + $customer_data = apply_filters( 'taxjar_customer_sync_data', $customer_data, $this->object ); $this->data = $customer_data; - return $customer_data; }