diff --git a/includes/api/class-wc-api-customers.php b/includes/api/class-wc-api-customers.php index c4035c6987c..174bba63b84 100644 --- a/includes/api/class-wc-api-customers.php +++ b/includes/api/class-wc-api-customers.php @@ -396,6 +396,8 @@ class WC_API_Customers extends WC_API_Resource { } } + do_action( 'woocommerce_api_edit_customer', $id, $data ); + return $this->get_customer( $id ); }