...
The user creation process can be hooked into vie the wc_maileon_checkout_contact
and wc_maileon_create_contact_params
WordPress filter hooks.
wc_maileon_
...
update_contact_checkout
Description
wc_maileon_checkoutupdate_contact_checkout
is a filter applied to a contact created on the checkout page.
...
$contact
(Maileon\Contacts\Contact
) (required) The contact to be filtered
$user_id
(integer
) The ID of the user
$newsletter
(boolean
) Whether the user opted in to recieve newsletters
$user_id$data
(integer
array
) The ID of the user
wc_maileon_
...
update_contact_registration
Description
wc_maileon_registerupdate_contact_registration
is a filter applied to a contact created via the registration form.
...
$contact
(Maileon\Contacts\Contact
) (required) The contact to be filtered
$user_id
(integer
) The ID of the user
$newsletter
(boolean
) Whether the user opted in to recieve newsletters
$user_iddata
(integer
array
) The ID of the user
wc_maileon_update_contact_account
wc_maileon_update_contact_account
is a filter applied to an updated contact.
...