custom fields not syncing
-
Hi I have a similar problem. Based on your link to the wiki, i have the following function added:
function custom_mailchimp_sync_user_mergetags($merge_vars, $user) { $merge_vars['TROUWDATUM'] = 'tryout'; return $merge_vars; } add_filter('mailchimp_sync_user_mergetags', 'custom_mailchimp_sync_user_mergetags', 100, 2);
In the log, i see the information is not sended .
However, when i change the function to:
function custom_mailchimp_sync_user_mergetags($merge_fields, $user) { /// add anything you would like to this array - and return it $merge_fields['TROUWDATUM'] = 'tryout'; return $merge_fields; } add_filter('mailchimp_sync_user_mergetags', 'custom_mailchimp_sync_user_mergetags', 10, 2);
The information is sended, i see in the logs.
but then the information is not imported in mailchimp. I created a custom field in mailchimp with “Trouwdatum” and for testing purposes set it on text.
What is going wrong here?
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘custom fields not syncing’ is closed to new replies.