• Resolved Paul Clarke

    (@paul-clarke)


    Hi,

    I use WP ALL IMPORTS to import users every day. They have a function that deletes users if the user is not in the feed. Problem is users deleted in this way are not removed from mailchimp.

    I have contacted WP ALL IMPORTS support and they have replied with the following. Please can you assist to resolve this issue for me?

    WP ALL IMPORTS MESSAGE BELOW /////////////

    Can you please contact the MailChimp Sync developers and ask them how they’re detecting the deletion of the users and/or if there’s some sort of helper function we could call in the import to remove the user from the list?

    Once we know that, I should be able to advise on a solution that utilizes our API: https://www.wpallimport.com/documentation/developers/action-reference/.

    Best Regards,
    Trey M
    Soflyy
    ////////////////

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Danny van Kooten

    (@dvankooten)

    Hi Paul,

    MailChimp User Sync is hooking into the standard delete_user action hook to determine whether a user should be removed from the connected MailChimp list.

    This action hook is run by WordPress in the wp_delete_user( $user_id ) function, just before the user is deleted. So as long as WP All Import uses either that function or makes sure to fire the action hook themselves, our plugin should pick up on the user deletion.

    Cheers!

    Thread Starter Paul Clarke

    (@paul-clarke)

    Thanks Danny, I will pass that on to WP All Imports.

    Thanks Again!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Users do not delete’ is closed to new replies.