woocommerce_api_edit_customer action-hookWC 1.0

Usage

add_action( 'woocommerce_api_edit_customer', 'wp_kama_woocommerce_api_edit_customer_action', 10, 2 );

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

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

Where the hook is called

WC_API_Customers::edit_customer()
woocommerce/includes/legacy/api/v3/class-wc-api-customers.php 437
do_action( 'woocommerce_api_edit_customer', $customer->get_id(), $data );
woocommerce/includes/legacy/api/v2/class-wc-api-customers.php 436
do_action( 'woocommerce_api_edit_customer', $customer->get_id(), $data );

Where the hook is used in WooCommerce

Usage not found.