Versions Compared

Key

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

...

$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
(integer) The ID of the user

wc_maileon_register_contact

...

$contact
(Maileon\Contacts\Contact) (required) The contact to be filtered

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

$user_id
(integer) The ID of the user$newsletter
(boolean) Whether the user opted in to recieve newsletters

wc_maileon_update_contact

wc_maileon_update_contact is a filter applied to an updated contact.

$contact
(Maileon\Contacts\Contact) (required) The contact to be filtered

$customer
(\WC_Customer) (required) The customer data

wc_maileon_unsubscribe_contact_reasons

wc_maileon_unsubscribe_contact_reasons is a filter applied to the unsubscription reasons supplied to Maileon.

$reasons
(array) (required) The unsusbcription reasons array

$user_id
(integer) (required) The unsubscrining customer

wc_maileon_create_contact_params

...