Skip to content

Commit

Permalink
Add filter for data on customer sync
Browse files Browse the repository at this point in the history
  • Loading branch information
dallendalton committed Aug 23, 2019
1 parent 5f90166 commit 344fb49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-taxjar-customer-record.php
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 344fb49

Please sign in to comment.