woocommerce_ajax_get_customer_details
Usage
add_filter( 'woocommerce_ajax_get_customer_details', 'wp_kama_woocommerce_ajax_get_customer_details_filter', 10, 3 ); /** * Function for `woocommerce_ajax_get_customer_details` filter-hook. * * @param $data * @param $customer * @param $user_id * * @return */ function wp_kama_woocommerce_ajax_get_customer_details_filter( $data, $customer, $user_id ){ // filter... return $data; }
- $data
- -
- $customer
- -
- $user_id
- -
Where the hook is called
woocommerce_ajax_get_customer_details
woocommerce/includes/class-wc-ajax.php 988
$customer_data = apply_filters( 'woocommerce_ajax_get_customer_details', $data, $customer, $user_id );