woocommerce_api_create_customer action-hookWC 1.0

Usage

add_action( 'woocommerce_api_create_customer', 'wp_kama_woocommerce_api_create_customer_action', 10, 2 );

/**
 * Function for `woocommerce_api_create_customer` action-hook.
 * 
 * @param  $customer_id 
 * @param  $data        
 *
 * @return void
 */
function wp_kama_woocommerce_api_create_customer_action( $customer_id, $data ){

	// action...
}
$customer_id
-
$data
-

Where the hook is called

WC_API_Customers::create_customer()
woocommerce_api_create_customer
woocommerce/includes/legacy/api/v3/class-wc-api-customers.php 382
do_action( 'woocommerce_api_create_customer', $customer->get_id(), $data );
woocommerce/includes/legacy/api/v2/class-wc-api-customers.php 381
do_action( 'woocommerce_api_create_customer', $customer->get_id(), $data );

Where the hook is used in WooCommerce

Usage not found.