• Resolved ajfleming

    (@ajfleming)


    Is there a function I can call to trigger a user’s data to be syncd?

    I have a form which save a usermeta value via update_user_meta but this does not seem to call any of the actions MailChimp Sync listens to to initiate a sync. I was wondering if I can trigger one myself when the form has been processed successfully.

    https://www.ads-software.com/plugins/mailchimp-sync/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi,

    I just had this problem today, and found a solution by looking to the plugin code.
    You can manually sync a user by calling “mailchimp_sync_update_subscriber” action :

    do_action('mailchimp_sync_update_subscriber', $user_id);

    Thread Starter ajfleming

    (@ajfleming)

    Perfect! Thanks for the tip Yamard.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Trigger user to be syncd’ is closed to new replies.