From c002884e6c929b8ac245841a6c62f09734a003e9 Mon Sep 17 00:00:00 2001 From: Fabio Date: Thu, 11 Feb 2016 17:22:02 -0200 Subject: [PATCH 1/2] Update class-wc-webhook.php --- includes/class-wc-webhook.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/class-wc-webhook.php b/includes/class-wc-webhook.php index 8cafece0def..de1c988a3a3 100644 --- a/includes/class-wc-webhook.php +++ b/includes/class-wc-webhook.php @@ -544,6 +544,7 @@ class WC_Webhook { 'wp_trash_post', ), 'customer.created' => array( + 'user_register', 'woocommerce_created_customer', ), 'customer.updated' => array( From de8f054c8297fc46dd6ec37bf01142fbf44cb7d6 Mon Sep 17 00:00:00 2001 From: Fabio Date: Thu, 11 Feb 2016 17:37:57 -0200 Subject: [PATCH 2/2] Add woocommerce_api_create_customer Added action to trigger 'customer.created' webhook --- includes/class-wc-webhook.php | 1 + 1 file changed, 1 insertion(+) diff --git a/includes/class-wc-webhook.php b/includes/class-wc-webhook.php index de1c988a3a3..edfd0443ecb 100644 --- a/includes/class-wc-webhook.php +++ b/includes/class-wc-webhook.php @@ -546,6 +546,7 @@ class WC_Webhook { 'customer.created' => array( 'user_register', 'woocommerce_created_customer', + 'woocommerce_api_create_customer' ), 'customer.updated' => array( 'profile_update',