...
$key
(string
) The DOI mailing key
wc_maileon_contact_meta_value
Description
wc_maileon_contact_meta_value
is a filter applied to each meta value to be synchronized to the Maileon contact.
$value
(mixed
) The value to be set in Maileon
$meta_value
(mixed
) The original meta value
$meta_key
(mixed
) The original meta key
$value_type
(string
) The type name of the Maileon contact property to be updated
$maileon
(array
) An array describing the Maileon contact field
wc_maileon_contact_meta_values
Description
wc_maileon_contact_meta_values
is a filter applied to the array of meta values to be synchronized to the Maileon contact.
$values
(mixed
) The values to be set in Maileon
Transaction Actions
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:
...
Email hooks
wc_maileon_email_hooks
Description
wc_maileon_email_hooks
is a filter applied to replaced WooCommerce emails. It can be used to override custom email types.
...
Since 1.2.8 wc_maileon_email_hooks
now accepts array values. If an array is provided the first element is the replacement class name, the second is the constructor parameters.
See Sample Extension for examples.
Transaction Filters
wc_maileon_transaction_name
Description
wc_maileon_transaction_name
is a filter applied to all Maileon transaction names.
...
wc_maileon_transaction_archiving_duration
Description
wc_maileon_transaction_archiving_duration
is a filter applied to all Maileon transaction archiving durations.
...
wc_maileon_transaction_{$transaction_name}_archiving_duration
Description
wc_maileon_transaction_archiving_duration
is a filter applied to all Maileon transaction archiving durations. It can be used to modify the transaction archiving duration for transaction types created by the plugin. $transaction_name
is one of the following by default:
...
wc_maileon_transaction_attributes
Description
wc_maileon_transaction_attributes
is a filter applied to all Maileon transaction attributes.
...
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_maileon_transaction_map_order_products
Description
wc_maileon_transaction_map_order_products
is applied to product lines.
...
wc_maileon_transaction_map_order_product_item
Description
wc_maileon_transaction_map_order_product_item
is applied to a single product line item.
...
wc_maileon_transaction_map_order_fees
Description
wc_maileon_transaction_map_order_fees
is applied to fees and shipping lines.
...
wc_maileon_transaction_map_order_fee_shipping_item
Description
wc_maileon_transaction_map_order_fee_shipping_item
is applied to a single shipping line item.
...
wc_maileon_transaction_map_order_fee_item
Description
wc_maileon_transaction_map_order_fee_item
is applied to a single fee line item.
...
wc_maileon_transaction_map_order_discounts
Description
wc_maileon_transaction_map_order_discounts
is applied to coupon lines.
...
wc_maileon_transaction_map_order_discount_item
Description
wc_maileon_transaction_map_order_discount_item
is applied to a single coupon line item.
...
wc_maileon_transaction_{$transaction_name}_content
Description
wc_maileon_transaction_{$transaction_name}_content
is a filter applied to every Maileon transaction’s content. $transaction_name
is one of the following by default:
...
wc_maileon_webhook_related_products_map_product_{$type}
Description
wc_maileon_webhook_related_products_map_product_{$type}
is a filter applied to each product in related products JSON endpoint. $type
is one of the following:
...
wc_maileon_webhook_related_products
Description
wc_maileon_webhook_related_products
is a filter applied to the output of the related products JSON endpoint.
...