Add action for hook woocommerce_created_customer
[MAILPOET-3483]
This commit is contained in:
@ -273,6 +273,11 @@ class Hooks {
|
||||
|
||||
public function setupWooCommerceUsers() {
|
||||
// WooCommerce Customers synchronization
|
||||
$this->wp->addAction(
|
||||
'woocommerce_created_customer',
|
||||
[$this->hooksWooCommerce, 'synchronizeRegisteredCustomer'],
|
||||
7
|
||||
);
|
||||
$this->wp->addAction(
|
||||
'woocommerce_new_customer',
|
||||
[$this->hooksWooCommerce, 'synchronizeRegisteredCustomer'],
|
||||
|
Reference in New Issue
Block a user