Skip to content

Commit

Permalink
Fix customer should sync filter name
Browse files Browse the repository at this point in the history
  • Loading branch information
dallendalton committed Aug 28, 2019
1 parent 344fb49 commit 5d2d666
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/class-wc-taxjar-customer-sync.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public function maybe_sync_customer_on_update( $user_id ) {

$this->_log( 'Customer sync for customer # ' . $record->get_record_id() . ' (Queue # ' . $record->get_queue_id() . ') triggered.' );

if ( ! apply_filters( 'taxjar_should_sync_order', $record->should_sync() ) ) {
if ( ! apply_filters( 'taxjar_should_sync_customer', $record->should_sync() ) ) {
return;
}

Expand Down

0 comments on commit 5d2d666

Please sign in to comment.