function hook_mailchimp_lists_mergevars_alter in Mailchimp 7.4
Same name and namespace in other branches
- 8 mailchimp.api.php \hook_mailchimp_lists_mergevars_alter()
- 7.5 mailchimp.api.php \hook_mailchimp_lists_mergevars_alter()
- 7.3 mailchimp.api.php \hook_mailchimp_lists_mergevars_alter()
- 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) {
}