Added $user_id

This commit is contained in:
Nicola Mustone 2014-09-29 09:13:56 +02:00
parent 12129218fb
commit 1337c9cd7b
1 changed files with 1 additions and 1 deletions

View File

@ -935,7 +935,7 @@ class WC_AJAX {
$type_to_load . '_phone' => get_user_meta( $user_id, $type_to_load . '_phone', true ), $type_to_load . '_phone' => get_user_meta( $user_id, $type_to_load . '_phone', true ),
); );
$customer_data = apply_filters( 'woocommerce_found_customer_details', $customer_data, $type_to_load ); $customer_data = apply_filters( 'woocommerce_found_customer_details', $customer_data, $user_id, $type_to_load );
wp_send_json( $customer_data ); wp_send_json( $customer_data );