Skip to content

Commit

Permalink
Merge pull request woocommerce#10335 from onyxcorp/master
Browse files Browse the repository at this point in the history
Update class-wc-webhook.php customer.created webhook to be triggered with 'user_register' action
  • Loading branch information
claudiosanches committed Feb 11, 2016
2 parents 50e178b + de8f054 commit f17f952
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions includes/class-wc-webhook.php
Original file line number Diff line number Diff line change
Expand Up @@ -544,7 +544,9 @@ private function get_topic_hooks( $topic ) {
'wp_trash_post',
),
'customer.created' => array(
'user_register',
'woocommerce_created_customer',
'woocommerce_api_create_customer'
),
'customer.updated' => array(
'profile_update',
Expand Down

0 comments on commit f17f952

Please sign in to comment.