function mailchimp_get_merge_values in Mailchimp 5.2
Same name and namespace in other branches
- 5 mailchimp.module \mailchimp_get_merge_values()
- 6.2 mailchimp.module \mailchimp_get_merge_values()
- 6 mailchimp.module \mailchimp_get_merge_values()
Get all the potential merge var values for a given user
1 call to mailchimp_get_merge_values()
- _mailchimp_load_user_list_mergevars in ./
mailchimp.module - Get the relevent merge vars for the given user for the given list
File
- ./
mailchimp.module, line 659
Code
function mailchimp_get_merge_values($uid) {
if ($user = user_load(array(
'uid' => $uid,
))) {
return module_invoke_all('mailchimp_merge_values', $user);
}
return array();
}