Passa al contenuto principale

Action: wu_maybe_create_customer

Allow plugin developers to do additional stuff when the customer is added.

Here's where we add the hooks for adding the customer->user to the main site as well, for example.

Parameters

NameTypeDescrizione
$customer\CustomerIl cliente che è stato forse creato.
$checkout\CheckoutLa classe checkout corrente.

Da

  • 2.0.0

Fonte

Defined in inc/checkout/class-checkout.php at line 1156