woocommerce_ajax_get_customer_details

woocommerce_ajax_get_customer_details

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

apply_filters('woocommerce_ajax_get_customer_details') is found 1 times:

  • /includes/class-wc-ajax.php line 990
    986
    987
    988
    989
    990
    991
    992
    993
    994
    995
    996
        $data['date_modified'] = $data['date_modified'] ? $data['date_modified']->getTimestamp() : null;
     
        unset( $data['meta_data'] );
     
        $customer_data = apply_filters( 'woocommerce_ajax_get_customer_details', $data, $customer, $user_id );
        wp_send_json( $customer_data );
    }
     
    /**
     * Add order item via ajax. Used on the edit order screen in WP Admin.
     *