Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

$newsletter
(boolean) Whether the user opted in to recieve newsletters

wc_maileon_register_contact

Description

wc_maileon_register_contact is a filter applied to a contact created via the registration form.

Parameters

$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

wc_maileon_create_contact_params

Description

wc_maileon_create_contact_params is a filter applied to any contact creation Maileon API calls. The hook receives an array of parameters that are passed to the Maileon API. The array contains the following elements:

Parameters

contact
(Maileon\Contacts\Contact) (required) The contact to be created

...