You are here

function hook_mailchimp_lists_mergevars_alter in Mailchimp 7.5

Same name and namespace in other branches
  1. 8 mailchimp.api.php \hook_mailchimp_lists_mergevars_alter()
  2. 7.3 mailchimp.api.php \hook_mailchimp_lists_mergevars_alter()
  3. 7.4 mailchimp.api.php \hook_mailchimp_lists_mergevars_alter()
  4. 2.x mailchimp.api.php \hook_mailchimp_lists_mergevars_alter()

Alter mergevars before they are sent to MailChimp.

Parameters

array $mergevars: Array of MailChimp mergevars.

object $entity: The entity used as a source for mergevar values.

string $entity_type: The type of entity used as a source for mergevar values.

string $list_id: The ID of the MailChimp list containing the mergevars.

1 invocation of hook_mailchimp_lists_mergevars_alter()
_mailchimp_lists_mergevars_populate in modules/mailchimp_lists/mailchimp_lists.module
Helper function to complete a MailChimp-API-ready mergevars array.

File

./mailchimp.api.php, line 20
Mailchimp hook definitions.

Code

function hook_mailchimp_lists_mergevars_alter(&$mergevars, $entity, $entity_type, $list_id) {
}