WordPress at Your Fingertips
action is not described

woocommerce_rest_insert_customer action-hook . WC 1.0

Fires after a customer is created or updated via the REST API.

Usage

add_action( 'woocommerce_rest_insert_customer', 'action_function_name_2910', 10, 3 );
function action_function_name_2910( $user_data, $request, $creating ){
	// action...
}
$user_data(WP_User)
Data used to create the customer.
$request(WP_REST_Request)
Request object.
$creating(true|false)
True when creating customer, false when updating customer.

Where the hook is called

WC_REST_Customers_V1_Controller::create_item()
woocommerce_rest_insert_customer
WC_REST_Customers_V1_Controller::update_item()
woocommerce_rest_insert_customer
woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php 358
do_action( 'woocommerce_rest_insert_customer', $user_data, $request, true );
woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-customers-v1-controller.php 442
do_action( 'woocommerce_rest_insert_customer', $user_data, $request, false );

Where in WP core the hook is used WooCommerce

Usage not found.