Fixed returned data from WC_AJAX::get_customer_details()
This commit is contained in:
parent
1fe791d7d8
commit
014262c0cc
|
@ -733,7 +733,7 @@ class WC_AJAX {
|
|||
$data['date_created'] = $data['date_created'] ? $data['date_created']->getTimestamp() : null;
|
||||
$data['date_modified'] = $data['date_modified'] ? $data['date_modified']->getTimestamp() : null;
|
||||
|
||||
$customer_data = apply_filters( 'woocommerce_ajax_get_customer_details', $customer->get_data(), $customer, $user_id );
|
||||
$customer_data = apply_filters( 'woocommerce_ajax_get_customer_details', $data, $customer, $user_id );
|
||||
wp_send_json( $customer_data );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue