Merge pull request #10335 from onyxcorp/master
Update class-wc-webhook.php customer.created webhook to be triggered with 'user_register' action
This commit is contained in:
commit
f17f9521d0
|
@ -544,7 +544,9 @@ class WC_Webhook {
|
||||||
'wp_trash_post',
|
'wp_trash_post',
|
||||||
),
|
),
|
||||||
'customer.created' => array(
|
'customer.created' => array(
|
||||||
|
'user_register',
|
||||||
'woocommerce_created_customer',
|
'woocommerce_created_customer',
|
||||||
|
'woocommerce_api_create_customer'
|
||||||
),
|
),
|
||||||
'customer.updated' => array(
|
'customer.updated' => array(
|
||||||
'profile_update',
|
'profile_update',
|
||||||
|
|
Loading…
Reference in New Issue