woocommerce_checkout_update_customer action-hookWC 3.0.0

Action hook to adjust customer before save.

Usage

add_action( 'woocommerce_checkout_update_customer', 'wp_kama_woocommerce_checkout_update_customer_action', 10, 2 );

/**
 * Function for `woocommerce_checkout_update_customer` action-hook.
 * 
 * @param  $customer 
 * @param  $data     
 *
 * @return void
 */
function wp_kama_woocommerce_checkout_update_customer_action( $customer, $data ){

	// action...
}
$customer
-
$data
-

Changelog

Since 3.0.0 Introduced.

Where the hook is called

WC_Checkout::process_customer()
woocommerce_checkout_update_customer
woocommerce/includes/class-wc-checkout.php 1184
do_action( 'woocommerce_checkout_update_customer', $customer, $data );

Where the hook is used in WooCommerce

Usage not found.