{"id":34150,"date":"2015-01-24T09:48:14","date_gmt":"2015-01-24T09:48:14","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/mailchimp-sync\/"},"modified":"2019-10-15T14:06:08","modified_gmt":"2019-10-15T14:06:08","slug":"mailchimp-sync","status":"closed","type":"plugin","link":"https:\/\/en-ca.wordpress.org\/plugins\/mailchimp-sync\/","author":6655719,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.8.1","stable_tag":"1.8.1","tested":"4.9.29","requires":"4.1","requires_php":"5.3","requires_plugins":"","header_name":"MC4WP: Mailchimp User Sync","header_author":"ibericode","header_description":"","assets_banners_color":"cfeefa","last_updated":"2019-10-15 14:06:08","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/mc4wp.com\/#utm_source=wp-plugin-repo&utm_medium=mailchimp-sync&utm_campaign=donate-link","header_plugin_uri":"https:\/\/mc4wp.com\/#utm_source=wp-plugin&utm_medium=mailchimp-sync&utm_campaign=plugins-page","header_author_uri":"https:\/\/ibericode.com\/","rating":4.8,"author_block_rating":0,"active_installs":2000,"downloads":199826,"num_ratings":0,"support_threads":6,"support_threads_resolved":2,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":{"1.2":"<p>Add support for Mailchimp webhooks to enable 2-way synchronizing.<\/p>"},"ratings":{"1":0,"2":"1","3":0,"4":0,"5":"17"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1224634","resolution":"128x128","location":"assets","locale":""},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1224634","resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":"1092151","resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.1","0.1.2","1.0","1.0.2","1.1","1.1.1","1.1.3","1.2","1.2.1","1.2.2","1.2.3","1.3","1.3.1","1.3.2","1.3.3","1.4","1.4.1","1.4.2","1.4.3","1.4.4","1.4.5","1.4.6","1.4.7","1.5","1.5.1","1.5.2","1.5.3","1.5.4","1.6","1.6.1","1.6.2","1.6.3","1.6.4","1.7","1.7.1","1.7.2","1.7.3","1.7.4","1.7.5","1.7.6","1.7.7","1.8.0","1.8.1"],"block_files":[],"assets_screenshots":{"screenshot-1.jpg":{"filename":"screenshot-1.jpg","revision":"1074752","resolution":"1","location":"assets","locale":""},"screenshot-2.jpg":{"filename":"screenshot-2.jpg","revision":"1074752","resolution":"2","location":"assets","locale":""}},"screenshots":{"1":"Synchronization settings","2":"Status overview"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[1029,41874,1558,9756,1917],"plugin_category":[41,45],"plugin_contributors":[77662,77663,77661,77664],"plugin_business_model":[],"class_list":["post-34150","plugin","type-plugin","status-closed","hentry","plugin_tags-mailchimp","plugin_tags-mailchimp-list","plugin_tags-sync","plugin_tags-synchronize","plugin_tags-users","plugin_category-communication","plugin_category-ecommerce","plugin_contributors-dvankooten","plugin_contributors-hchouhan","plugin_contributors-ibericode","plugin_contributors-lapzor","plugin_committers-dvankooten","plugin_committers-hchouhan","plugin_committers-ibericode"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/mailchimp-sync_cfeefa.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/mailchimp-sync\/assets\/screenshot-1.jpg?rev=1074752","caption":"Synchronization settings"},{"src":"https:\/\/ps.w.org\/mailchimp-sync\/assets\/screenshot-2.jpg?rev=1074752","caption":"Status overview"}],"raw_content":"<!--section=description-->\n<h4>User Sync for Mailchimp<\/h4>\n\n<p>Synchronize your registered WordPress users with a Mailchimp list of your choice.<\/p>\n\n<blockquote>\n  <p>To use Mailchimp User Sync, please install either the free or premium version of the <a href=\"https:\/\/mc4wp.com\/#utm_source=wp-plugin-repo&amp;utm_medium=mailchimp-sync&amp;utm_campaign=info\">Mailchimp for WordPress plugin<\/a>.<\/p>\n<\/blockquote>\n\n<h4>MC4WP: User Sync, at a glance..<\/h4>\n\n<p>Mailchimp User Sync will monitor your WordPress user base and automatically synchronize any changes with a selected Mailchimp list. This allows you to keep a Mailchimp list of subscribers\nthat is an exact mirror of your WordPress user base.<\/p>\n\n<ul>\n<li>Automatically subscribe new users to your Mailchimp list.<\/li>\n<li>Sync all profile changes with Mailchimp, even when a user's email address changes.<\/li>\n<li>When a user is deleted, the associated Mailchimp subscriber will be unsubscribed as well.<\/li>\n<li>Synchronize all user roles or a specific one, eg all users with the \"customer\" role.<\/li>\n<li>Synchronize all existing users<\/li>\n<li>Choose whether you want to use double opt-in and send a welcome email to new subscribers.<\/li>\n<li>WP CLI commands to synchronize a large amount of WordPress users at once.<\/li>\n<\/ul>\n\n<p>After activation, the plugin will listen to all changes in your WordPress users and make sure everything stays in sync with the selected Mailchimp list.<\/p>\n\n<h4>Development of Mailchimp User Sync<\/h4>\n\n<p>Bug reports (and Pull Requests) for <a href=\"https:\/\/github.com\/ibericode\/mailchimp-user-sync\">Mailchimp User Sync are welcomed on GitHub<\/a>. Please note that GitHub is <em>not<\/em> a support forum.<\/p>\n\n<p><strong>More information<\/strong><\/p>\n\n<ul>\n<li><a href=\"https:\/\/mc4wp.com\/#utm_source=wp-plugin-repo&amp;utm_medium=mailchimp-sync&amp;utm_campaign=more-info-link\">Mailchimp for WordPress<\/a><\/li>\n<li>Other <a href=\"https:\/\/mc4wp.com\/add-ons\/#utm_source=wp-plugin-repo&amp;utm_medium=mailchimp-sync&amp;utm_campaign=more-info-link\">add-ons for Mailchimp for WordPress<\/a><\/li>\n<li>Developers; follow or contribute to the <a href=\"https:\/\/github.com\/ibericode\/mailchimp-user-sync\">Mailchimp User Sync plugin on GitHub<\/a><\/li>\n<li>Other <a href=\"https:\/\/dannyvankooten.com\/wordpress-plugins\/#utm_source=wp-plugin-repo&amp;utm_medium=link&amp;utm_campaign=more-info-link\">WordPress plugins<\/a> by <a href=\"https:\/\/dannyvankooten.com#utm_source=wp-plugin-repo&amp;utm_medium=link&amp;utm_campaign=more-info-link\">Danny van Kooten<\/a><\/li>\n<\/ul>\n\n<!--section=installation-->\n<h4>Mailchimp for WordPress<\/h4>\n\n<p>Since this plugin depends on the <a href=\"https:\/\/wordpress.org\/plugins\/mailchimp-for-wp\/\">Mailchimp for WordPress plugin<\/a>, you will need to install that first.<\/p>\n\n<h4>Installing Mailchimp User Sync<\/h4>\n\n<ol>\n<li>Make sure <a href=\"https:\/\/mc4wp.com\/#utm_source=wp-plugin-repo&amp;utm_medium=mailchimp-sync&amp;utm_campaign=info\/\">Mailchimp for WordPress<\/a> is installed (free or premium).<\/li>\n<li>In your WordPress admin panel, go to <em>Plugins &gt; New Plugin<\/em>, search for <strong>Mailchimp User Sync<\/strong> and click \"<em>Install now<\/em>\"<\/li>\n<li>Alternatively, download the plugin and upload the contents of <code>mailchimp-sync.zip<\/code> to your plugins directory, which usually is <code>\/wp-content\/plugins\/<\/code>.<\/li>\n<li>Activate the plugin<\/li>\n<li>Set <a href=\"https:\/\/admin.mailchimp.com\/account\/api\">your Mailchimp API key<\/a> in <strong>Mailchimp for WP &gt; Mailchimp Settings<\/strong>.<\/li>\n<li>Select a list to sync with in <strong>Mailchimp for WP &gt; Sync<\/strong>.]<\/li>\n<li>(optional) Select a specific user role to synchronize.<\/li>\n<li>(optional) synchronize your existing users.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>I think I found a bug. What now?<\/dt>\n<dd><p>Please report it on <a href=\"https:\/\/github.com\/ibericode\/mailchimp-user-sync\/issues\">GitHub issues<\/a> if it's not in the list of known issues.<\/p><\/dd>\n<dt>I have another question<\/dt>\n<dd><p>Please open a topic on the <a href=\"https:\/\/wordpress.org\/support\/plugin\/mailchimp-sync\">WordPress.org plugin support forums<\/a>.<\/p><\/dd>\n<dt>Send additional fields to Mailchimp<\/dt>\n<dd><p>Since version 1.1, you can specify which additional user fields to send to Mailchimp by mapping your fields on the settings page of the plugin.<\/p>\n\n<p>If you need to send more complex data you can use the <code>mailchimp_sync_user_data<\/code> filter.<\/p>\n\n<pre><code>add_filter( 'mailchimp_sync_user_data', function( $data, $user ) {\n    $data['WEBSITE'] = $user-&gt;user_url;\n    return $data;\n}, 10, 2 );\n<\/code><\/pre><\/dd>\n<dt>Only synchronize users based on a custom criteria<\/dt>\n<dd><p>You can set your own criteria for subscribing a user by hooking into the <code>mailchimp_sync_should_sync_user<\/code> filter.<\/p>\n\n<pre><code>add_filter( 'mailchimp_sync_should_sync_user', function( $subscribe, $user ) {\n\n    \/\/ check for custom user field\n    if( $user-&gt;subscribe_me ) {\n        return true;\n    }\n\n    \/\/ do not subscribe otherwise\n    return false;\n});\n<\/code><\/pre><\/dd>\n<dt>Can I run this from the command-line?<\/dt>\n<dd><p>Yes, you can. The plugin registers two <a href=\"https:\/\/wp-cli.org\/\">WP CLI<\/a> commands.<\/p>\n\n<pre><code>wp mailchimp-sync all                           # synchronize all users\nwp mailchimp-sync all --role=administrator  # synchronize all users with \"administrator\" role\nwp mailchimp-sync user $user_id             # synchronize the user specified by the given ID\n<\/code><\/pre>\n\n<p>This is especially useful for synchronising a huge amount of users.<\/p><\/dd>\n<dt>Does this plugin synchronize data back from Mailchimp?<\/dt>\n<dd><p>Not by default, but you can enable this by <a href=\"https:\/\/mc4wp.com\/kb\/configure-webhook-for-2-way-synchronizing\/\">configuring a webhook in your Mailchimp account<\/a>.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.8.1 - Oct 15, 2019<\/h4>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>Add button to delete all pending background jobs.<\/li>\n<\/ul>\n\n<h4>1.8.0 - Oct 7, 2019<\/h4>\n\n<p>Compatibility with <a href=\"https:\/\/wordpress.org\/plugins\/mailchimp-for-wp\/\">Mailchimp for WordPress<\/a> version 4.6.<\/p>\n\n<h3>1.7.6 - Dec 3, 2018<\/h3>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>Add warning text to settings that may cause subscribers to be removed from the connected Mailchimp list.<\/li>\n<\/ul>\n\n<h3>1.7.5 - July 4, 2018<\/h3>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>Get rid of status indicator on settings page as it's not important nor accurate.<\/li>\n<\/ul>\n\n<p><strong>Additions<\/strong><\/p>\n\n<ul>\n<li>Add button to settings page to immediately process all pending background jobs.<\/li>\n<\/ul>\n\n<h3>1.7.4 - May 28, 2018<\/h3>\n\n<p><strong>Additions<\/strong><\/p>\n\n<ul>\n<li>Added mailchimp_sync_delete_subscribers filter, will <a href=\"https:\/\/github.com\/ibericode\/mc4wp-snippets\/blob\/master\/add-ons\/user-sync\/really-delete-subscribers-from-list.php\">delete subscribers from the Mailchimp list<\/a> if filter returns true (instead of updating their status).<\/li>\n<\/ul>\n\n<h3>1.7.3 - April 30, 2018<\/h3>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>Allow users that unsubscribed to be re-subscribed, but only if users can manage their sign-up status from their profile page.<\/li>\n<li>Better (more privacy friendly) default settings.<\/li>\n<li>Add warning text to settings that may affect GDPR compliance.<\/li>\n<li>CLI commands shows a list of errors now (if any).<\/li>\n<li>More detailed error messages when Mailchimp API returns an error.<\/li>\n<\/ul>\n\n<h3>1.7.2 - March 14, 2018<\/h3>\n\n<p><strong>Fixes<\/strong><\/p>\n\n<ul>\n<li>Fatal error because of unexisting function on WooCommerce my account page.<\/li>\n<\/ul>\n\n<h3>1.7.1 - March 13, 2018<\/h3>\n\n<p><strong>Fixes<\/strong><\/p>\n\n<ul>\n<li>Manual synchronization would not stop running if errors occurred.<\/li>\n<li>Fix hooks like <code>mailchimp_sync_handle_user<\/code>.<\/li>\n<\/ul>\n\n<p><strong>Additions<\/strong><\/p>\n\n<ul>\n<li>Allow users to subscribe\/unsubscribe from their WooCommerce account page too.<\/li>\n<\/ul>\n\n<h4>1.7 - February 16, 2018<\/h4>\n\n<p><strong>Fixes<\/strong><\/p>\n\n<ul>\n<li>Incorrect total user count when running the plugin on WP Multsite.<\/li>\n<\/ul>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>Do not hard-delete subscribers, update status instead.<\/li>\n<\/ul>\n\n<h4>1.6.4 - December 12, 2017<\/h4>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>Transactional (e-commerce) subscribers would not be subscribed when synchronising.<\/li>\n<\/ul>\n\n<h4>1.6.3 - December 4, 2017<\/h4>\n\n<p><strong>Fixes<\/strong><\/p>\n\n<ul>\n<li>Last few users were always skipped when performing a manual sync (via browser).<\/li>\n<\/ul>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>Allow processing pending background jobs by visiting any admin page with <code>?_mc4wp_action=process_user_sync_queue<\/code> as an administrator.<\/li>\n<li>Get rid of PHP notice on user profile page.<\/li>\n<\/ul>\n\n<h4>1.6.2 - November 22, 2017<\/h4>\n\n<p><strong>Fixes<\/strong><\/p>\n\n<ul>\n<li>CLI command would not find any users when synchronising all user roles.<\/li>\n<\/ul>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>Improved success messages in CLI commands.<\/li>\n<\/ul>\n\n<h4>1.6.1 - November 21, 2017<\/h4>\n\n<p><strong>Fixes<\/strong><\/p>\n\n<ul>\n<li>Invalid class reference in WP CLI command.<\/li>\n<\/ul>\n\n<h4>1.6 - November 2, 2017<\/h4>\n\n<p><strong>Additions<\/strong><\/p>\n\n<ul>\n<li>Added setting that allows users to opt-out from selected Mailchimp list via their profile page.<\/li>\n<\/ul>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>Minor refactoring &amp; improvements to log messages.<\/li>\n<\/ul>\n\n<h4>1.5.4 - May 23, 2017<\/h4>\n\n<p><strong>Fixes<\/strong><\/p>\n\n<ul>\n<li>Interest groupings not coming through when using <code>mailchimp_sync_subscriber_data<\/code> filter hook.<\/li>\n<\/ul>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>Queued background jobs are now only processed at the hourly schedule.<\/li>\n<\/ul>\n\n<p><strong>Additions<\/strong><\/p>\n\n<ul>\n<li>Added <code>mc4wp-sync process-queue<\/code> command to WP CLI.<\/li>\n<\/ul>\n\n<h4>1.5.3 - January 18, 2017<\/h4>\n\n<p><strong>Fixes<\/strong><\/p>\n\n<ul>\n<li>Pending subscribers (when double opt-in is enabled) would be subscribed again on every profile change.<\/li>\n<\/ul>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>Plugin can now update email addresses in Mailchimp without creating a separate (new) subscriber. Thanks to <a href=\"https:\/\/maymay.net\/\">Maymay<\/a> for the great help.<\/li>\n<li>Now showing pending background jobs on settings page.<\/li>\n<li>Background queue improvements for long-lived processes<\/li>\n<li>Errors in background jobs will now be logged to the <a href=\"https:\/\/mc4wp.com\/kb\/how-to-enable-log-debugging\/\">debug log<\/a>.<\/li>\n<li>Reschedule event whenever options are saved.<\/li>\n<\/ul>\n\n<h4>1.5.2 - September 28, 2016<\/h4>\n\n<p><strong>Fixes<\/strong><\/p>\n\n<ul>\n<li>Interest groups were always being replaced, instead of added to the existing subscriber's interest groups.<\/li>\n<\/ul>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>Always write to debug log when webhook receives request for user.<\/li>\n<\/ul>\n\n<p><strong>Additions<\/strong><\/p>\n\n<ul>\n<li>Added <code>mailchimp_sync_webhook_data<\/code> filter to manipulate data received by webhook before it is processed.<\/li>\n<\/ul>\n\n<h4>1.5.1 - September 7, 2016<\/h4>\n\n<p><strong>Fixes<\/strong><\/p>\n\n<ul>\n<li>Don't delay other cron jobs when an error occurs.<\/li>\n<\/ul>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>Only send user fields to Mailchimp when not empty, to prevent overriding existing data when webhook is not configured.<\/li>\n<li>Ask for confirmation before changing webhook secret.<\/li>\n<\/ul>\n\n<h4>1.5 - August 4, 2016<\/h4>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>Forward compatibility with upcoming <a href=\"https:\/\/mc4wp.com\/kb\/upgrading-to-4-0\/\">Mailchimp for WordPress 4.0 release<\/a>.<\/li>\n<li>Use correct WP function for updating user email address from webhook.<\/li>\n<\/ul>\n\n<h4>1.4.7 - July 8, 2016<\/h4>\n\n<p><strong>Fixes<\/strong><\/p>\n\n<ul>\n<li>Incorrect user count resulting in lots of duplicate \"Fetched 0 users\" statements in Manual Synchronization wizard.<\/li>\n<\/ul>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>Various improvements to Manual Synchronization wizard, including more verbose feedback.<\/li>\n<li>Add link to KB article for <a href=\"https:\/\/mc4wp.com\/kb\/syncing-custom-user-fields-mailchimp\/\">synchronizing additional fields<\/a>.<\/li>\n<\/ul>\n\n<h4>1.4.6 - June 14, 2016<\/h4>\n\n<p><strong>Fixes<\/strong><\/p>\n\n<ul>\n<li>Webhook not updating user fields because it couldn't find an associated user.<\/li>\n<\/ul>\n\n<p><strong>Additions<\/strong><\/p>\n\n<ul>\n<li>Added webhook settings to settings page.<\/li>\n<li>Added \"secret key\" option to webhook, to further secure webhook endpoint.<\/li>\n<li>Preparations for Mailchimp API v3.<\/li>\n<\/ul>\n\n<h4>1.4.5 - May 25, 2016<\/h4>\n\n<p><strong>Fixes<\/strong><\/p>\n\n<ul>\n<li>Error on PHP 5.3. Square bracket array assignment is a PHP 5.4 feature.<\/li>\n<\/ul>\n\n<h4>1.4.4 - May 25, 2016<\/h4>\n\n<p><strong>Fixes<\/strong><\/p>\n\n<ul>\n<li>Only add Mailchimp status to user profile when user matches criteria.<\/li>\n<li>CLI command now defaults to role selected on settings page when no role argument given.<\/li>\n<\/ul>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>Show success notice when manually subscribing or updating a user.<\/li>\n<li>Show \"skipped\" message when wizard attempts to synchronize a user that is excluded by the <code>mailchimp_sync_should_sync_user<\/code> filter.<\/li>\n<li>Show notice that numbers are off when using <code>mailchimp_sync_should_sync_user<\/code> filter.<\/li>\n<li>Various UX improvements to settings page &amp; manual synchronization wizard.<\/li>\n<li>Various performance improvements.<\/li>\n<\/ul>\n\n<h4>1.4.3 - April 13, 2016<\/h4>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>When user switches role or no longer matches custom conditions (using the <code>mailchimp_sync_should_sync_user<\/code> filter) he will now be unsubscribed from the selected Mailchimp list.<\/li>\n<li>User fields which are an array of values are now automatically converted to a comma-separated string before they are sent to Mailchimp.<\/li>\n<\/ul>\n\n<h4>1.4.2 - March 14, 2016<\/h4>\n\n<p><strong>Fixes<\/strong><\/p>\n\n<ul>\n<li>Re-run subscribe method if email isn't found on Mailchimp list (because of an invalid email, for example)<\/li>\n<\/ul>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>Setup schedule to run sync process at least once an hour, to prevent long delays.<\/li>\n<li>Strip <code>EMAIL<\/code> from available field map fields to prevent invalid configurations.<\/li>\n<li>Webhook updating a user will now write to <a href=\"https:\/\/mc4wp.com\/kb\/how-to-enable-log-debugging\/\">the debug log<\/a>.<\/li>\n<\/ul>\n\n<h4>1.4.1 - February 10, 2016<\/h4>\n\n<p><strong>Fixes<\/strong><\/p>\n\n<ul>\n<li>Webhook verification not working when setting up webhook in Mailchimp.<\/li>\n<\/ul>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>Remove JS sourcemaps from admin scripts.<\/li>\n<\/ul>\n\n<h4>1.4 - January 26, 2016<\/h4>\n\n<p>This update requires you to update <a href=\"https:\/\/wordpress.org\/plugins\/mailchimp-for-wp\/\">Mailchimp for WordPress<\/a> to version 3.1 first.<\/p>\n\n<p><strong>Fixes<\/strong><\/p>\n\n<ul>\n<li>Deleted users were no longer unsubscribed in some cases.<\/li>\n<\/ul>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>Use new Queue class from Mailchimp for WordPress 3.1 for improved background processing.<\/li>\n<li><a href=\"https:\/\/mc4wp.com\/kb\/how-to-enable-log-debugging\/\">Use new debug log for easier debugging<\/a>.<\/li>\n<li>Add HTTP status codes to Webhook listener.<\/li>\n<li>Miscellaneous code improvements<\/li>\n<\/ul>\n\n<p><strong>Changes<\/strong><\/p>\n\n<ul>\n<li>WP CLI commands are now named <code>wp mailchimp-sync all<\/code> and <code>wp mailchimp-sync user &lt;user_id&gt;<\/code> (backwards compatible)<\/li>\n<\/ul>\n\n<p><strong>Additions<\/strong><\/p>\n\n<ul>\n<li>WP CLI command <code>wp mailchimp-sync all<\/code> is now showing a progress bar<\/li>\n<\/ul>\n\n<h4>1.3.3 - January 14, 2016<\/h4>\n\n<p><strong>Fixes<\/strong><\/p>\n\n<ul>\n<li>Fatal error on settings page on lower PHP versions because of missing space between <code>&lt;?php<\/code> and translation call. This gets Forced Sync to work again.<\/li>\n<\/ul>\n\n<h4>1.3.2 - January 13, 2016<\/h4>\n\n<p><strong>Fixes<\/strong><\/p>\n\n<ul>\n<li>Subscription status wasn't showing on user profile.<\/li>\n<\/ul>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>Check for correct request parameters before processing <a href=\"https:\/\/mc4wp.com\/kb\/configure-webhook-for-2-way-synchronizing\/\">Mailchimp webhook<\/a>.<\/li>\n<li>Change plugin name to \"Mailchimp User Sync\"<\/li>\n<li>Document all WP CLI commands.<\/li>\n<li>Better mobile responsiveness for settings pages.<\/li>\n<li>Use Browserify to handle script dependencies.<\/li>\n<li>Improved compatibility with <a href=\"https:\/\/mc4wp.com\/blog\/the-big-three-o-release\/\">Mailchimp for WordPress v3.0<\/a><\/li>\n<\/ul>\n\n<h4>1.3.1 - November 13, 2015<\/h4>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>Compatibility fixes for <a href=\"https:\/\/mc4wp.com\/blog\/breaking-backwards-compatibility-in-version-3-0\/\">the upcoming Mailchimp for WordPress 3.0 release<\/a>.<\/li>\n<\/ul>\n\n<p><strong>Additions<\/strong><\/p>\n\n<ul>\n<li>Added <code>mailchimp_sync_get_user_field<\/code> filter to get user fields from a custom source and sync those to Mailchimp.<\/li>\n<\/ul>\n\n<h4>1.3 - October 17, 2015<\/h4>\n\n<p><strong>Fixes<\/strong><\/p>\n\n<ul>\n<li>Webhook not picking up on custom fields, it was only updating default user fields.<\/li>\n<li>When creating user via <code>mailchimp_sync_webhook_user<\/code> filter, it was not staying in sync.<\/li>\n<\/ul>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>Changes are now sent to Mailchimp <strong>after<\/strong> all changes are applied, at the end of the request.<\/li>\n<li>Individual changes in <code>user_meta<\/code> will now be taken into account as well.<\/li>\n<\/ul>\n\n<h4>1.2.3 - October 12, 2015<\/h4>\n\n<p><strong>Fixes<\/strong><\/p>\n\n<ul>\n<li>Webhook listener not working since version 1.2.2.<\/li>\n<li>Fields in additional fields section were stripped on settings save (when using \"+ Add Line\" button).<\/li>\n<\/ul>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>Various defensive coding improvements to the webhook listener<\/li>\n<\/ul>\n\n<h4>1.2.2 - October 7, 2015<\/h4>\n\n<p><strong>Additions<\/strong><\/p>\n\n<ul>\n<li>Introduced 2 new filters (<code>mailchimp_sync_webhook_user<\/code> and <code>mailchimp_sync_webhook_no_user<\/code>) which allow you to hook into the Mailchimp webhook listener to specify the WP user or do something when there is no user for the Mailchimp subscriber. <a href=\"https:\/\/gist.github.com\/dannyvankooten\/79fe429daaef611b6aa5\">Here is a code example that creates a new user when the subscriber has no user account<\/a>.<\/li>\n<\/ul>\n\n<h4>1.2.1 - October 1, 2015<\/h4>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>For mapping user fields, you can now manually type the \"meta key\" value of the field. Comes with autocomplete if you have users with that field already.<\/li>\n<li>For WooCommerce checkout: run after custom fields have been added<\/li>\n<\/ul>\n\n<p><strong>Fixes<\/strong><\/p>\n\n<ul>\n<li>Newly added rows could not be removed unless page was refreshed again.<\/li>\n<\/ul>\n\n<h4>1.2 - September 24, 2015<\/h4>\n\n<p><strong>Additions<\/strong><\/p>\n\n<ul>\n<li>Added support for Mailchimp webhooks, so data can be synchronized from Mailchimp to WordPress as well.  To enable this, you need to <a href=\"https:\/\/mc4wp.com\/kb\/configure-webhook-for-2-way-synchronizing\/\">configure a webhook in your Mailchimp account<\/a>.<\/li>\n<\/ul>\n\n<h4>1.1.3 - September 9, 2015<\/h4>\n\n<p><strong>Fixes<\/strong><\/p>\n\n<ul>\n<li>Status indicator was not working for installations with a custom database prefix.<\/li>\n<\/ul>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>You can now view &amp; clear the log file from the settings page.<\/li>\n<li>Nothing will be logged unless <code>WP_DEBUG<\/code> is enabled.<\/li>\n<\/ul>\n\n<h4>1.1.2 - September 8, 2015<\/h4>\n\n<p><strong>Fixes<\/strong><\/p>\n\n<ul>\n<li>Status indicator (in sync \/ out of sync) is now showing the correct # of users when a role is set.<\/li>\n<\/ul>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>Field rules will now clear when changing the Mailchimp list to subscribe to.<\/li>\n<li>Make it more clear that settings should be saved after choosing a Mailchimp list.<\/li>\n<\/ul>\n\n<h4>1.1.1 - August 28, 2015<\/h4>\n\n<p><strong>Additions<\/strong><\/p>\n\n<ul>\n<li>Allows you to send the user role as well.<\/li>\n<\/ul>\n\n<h4>1.1 - August 28, 2015<\/h4>\n\n<p><strong>Additions<\/strong><\/p>\n\n<ul>\n<li>You can now send additional user fields.<\/li>\n<li>You can now subscribe individual users from their \"edit user\" page.<\/li>\n<\/ul>\n\n<h4>1.0.2 - August 18, 2015<\/h4>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>Errors are now written to dedicated log file, usually located in <code>\/wp-content\/uploads\/mailchimp-sync.log<\/code>.<\/li>\n<li>Added <code>mailchimp_sync_should_sync_user<\/code> filter, which lets you set your own criteria for subscribing a user.<\/li>\n<\/ul>\n\n<h4>1.0.1 - July 14, 2015<\/h4>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>More detailed error message are now shown in the log.<\/li>\n<li>Force Sync will now start with unsynced users.<\/li>\n<\/ul>\n\n<h4>1.0 - May 29, 2015<\/h4>\n\n<p><strong>Fixes<\/strong><\/p>\n\n<ul>\n<li>Force synchronization would not work on large data sets (&gt; 10.000). The process is now batched.<\/li>\n<\/ul>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>Pause &amp; resume the forced synchronization process<\/li>\n<\/ul>\n\n<p><strong>Additions<\/strong><\/p>\n\n<ul>\n<li>Enable &amp; disable auto-syncing<\/li>\n<li>Choose a user role to synchronize.<\/li>\n<li><a href=\"https:\/\/wp-cli.org\/\">WP CLI<\/a> commands: <code>wp mailchimp-sync sync-all<\/code> and <code>wp mailchimp-sync sync-user $user_id<\/code>.<\/li>\n<li>Filter: <code>mailchimp_sync_user_data<\/code> to modify user data before it's sent to Mailchimp.<\/li>\n<\/ul>\n\n<p>For more detailed usage info on the introduced features, have a look at the <a href=\"https:\/\/wordpress.org\/plugins\/mailchimp-sync\/faq\/\">Mailchimp User Sync FAQ<\/a>.<\/p>\n\n<h4>0.1.2 - March 17, 2015<\/h4>\n\n<p><strong>Fixes<\/strong><\/p>\n\n<ul>\n<li>Synchronising would stop if a synchronize request failed<\/li>\n<li>Conflict with other plugins bundling old versions of Composer, throwing a fatal error on plugin activation<\/li>\n<li>Users who were deleted from a list would cause issues, they're now re-subscribed.<\/li>\n<\/ul>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>Added some feedback to Log whether a synchronization request succeeded or not.<\/li>\n<\/ul>\n\n<h4>0.1.1 - February 17, 2015<\/h4>\n\n<p><strong>Fixes<\/strong><\/p>\n\n<ul>\n<li>Force Sync got stuck on users without a valid email address. (<a href=\"https:\/\/github.com\/ibericode\/mailchimp-user-sync\/issues\/10\">#10<\/a>, thanks <a href=\"https:\/\/github.com\/girandovoy\">girandovoy<\/a>)<\/li>\n<li>JSON response was malformed when any plugin threw a PHP notice<\/li>\n<\/ul>\n\n<p><strong>Improvements<\/strong><\/p>\n\n<ul>\n<li>Progress log now auto-scrolls to bottom<\/li>\n<li>Progress log now shows time<\/li>\n<li>Progress log now shows more actions<\/li>\n<li>Add settings link to Plugin overview<\/li>\n<li>Various JavaScript improvements<\/li>\n<\/ul>\n\n<h4>0.1 - January 23, 2015<\/h4>\n\n<p>Initial release.<\/p>","raw_excerpt":"Synchronize your WordPress Users with a Mailchimp list.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/en-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/34150","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/en-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/en-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/en-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=34150"}],"author":[{"embeddable":true,"href":"https:\/\/en-ca.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dvankooten"}],"wp:attachment":[{"href":"https:\/\/en-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=34150"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/en-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=34150"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/en-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=34150"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/en-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=34150"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/en-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=34150"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/en-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=34150"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}