...
$newsletter
(boolean
) Whether the user opted in to recieve newsletters
wc_maileon_contact_update_
...
Description
wc_maileon_contact_update_registration
is a filter applied to a contact created via the registration form.
Parameters
$contact
(Maileon\Contacts\Contact
) The contact to be filtered
$user_id
(integer
) The ID of the user
$user_data
(array
) The user data
$newsletter
(boolean
) Whether the user opted in to recieve newsletters
wc_maileon_contact_update_account
Description
wc_maileon_contact_update_account
is a filter applied to a contact updated through WooCommerce/My Account.
...
wc_maileon_contact_unsubscribe_reasons
Description
wc_maileon_contact_unsubscribe_reasons
is a filter applied to the unsubscription reasons supplied to Maileon.
...
wc_maileon_contact_{$context}_doi_mailing_key
Description
wc_maileon_contact_{$context}_doi_mailing_key
is a filter applied to the DOI mailing keys supplied to Maileon. $context
is one of the following:
...
wc_maileon_transaction_after_{$transaction_name}
Description
wc_maileon_transaction_after_{$transaction_name}
is an action running after every Maileon transaction. $transaction_name
is one of the following by default:
...
wc_maileon_transaction_name
Description
wc_maileon_transaction_name
is a filter applied to all Maileon transaction names.
Parameters
$transaction_name
(string
) The transaction name
wc_maileon_transaction_{$transaction_name}_attributes
Description
wc_maileon_transaction_{$transaction_name}_attributes
is a filter applied to all Maileon transaction attribute definitions. It can be used to modify the transaction types created by the plugin. $transaction_name
is one of the following by default:
wc_completed_order
wc_on_hold_order
wc_processing_order
wc_refunded_order
Parameters
$transaction_attributes
(Maileon\Transactions\AttributeType[]
) The transaction type attributes
wc_maileon_transaction_map_order_{$type}
Description
wc_maileon_transaction_map_order_{$type}
is a filter applied to each order_item in the default transaction mapping. $type
is one of the following:
...
If this filter returns FALSE
or an empty array the line is excluded.
Parameters
$order_item
(array
) The mapped attributes
...
wc_maileon_transaction_order_line_types
Description
wc_maileon_transaction_order_line_type
is a filter applied to the order item types.
Parameters
$value
(array
) The order item types
...