Перейти до основного вмісту

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

NameTypeDescription
$customer\CustomerThe customer that was maybe created.
$checkout\CheckoutThe current checkout class.

Since

  • 2.0.0

Source

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